name: Build and Deploy on: push: branches: - main jobs: build-push: name: Build & Push runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Log in to Gitea registry uses: docker/login-action@v3 with: registry: ${{ vars.REGISTRY }} username: ${{ gitea.actor }} password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push web image uses: docker/build-push-action@v6 with: context: . target: web push: true tags: ${{ vars.REGISTRY }}/${{ gitea.repository_owner }}/sixflagssupercalendar:web - name: Build and push scraper image uses: docker/build-push-action@v6 with: context: . target: scraper push: true tags: ${{ vars.REGISTRY }}/${{ gitea.repository_owner }}/sixflagssupercalendar:scraper