Skip to content

format: Run yarn format #1

format: Run yarn format

format: Run yarn format #1

Workflow file for this run

name: Build and Push Docker
on:
push:
branches:
- main
jobs:
push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Build image
run: |
docker build . --target workers --tag remember-workers
docker build . --target web --tag remember-web
docker build . --target migration --tag remember-migration
- name: Log in to registry
# This is where you will update the PAT to GITHUB_TOKEN
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push image
run: |
docker push ghcr.io/${{ github.repository_owner }}/remember-workers:latest
docker push ghcr.io/${{ github.repository_owner }}/remember-web:latest
docker push ghcr.io/${{ github.repository_owner }}/remember-migration:latest