From 6659ee827826782cd9b4e3e2b8521f76504e1cd8 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Tue, 9 May 2023 08:40:35 -0400 Subject: [PATCH] Build containers on PR --- .github/workflows/publish-containers.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish-containers.yml b/.github/workflows/publish-containers.yml index d21b36e..3bfd58b 100644 --- a/.github/workflows/publish-containers.yml +++ b/.github/workflows/publish-containers.yml @@ -3,6 +3,7 @@ on: push: branches: - main + pull_request: jobs: publish-backend: @@ -38,6 +39,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Push to Packages + if: github.ref == 'refs/heads/main' uses: docker/build-push-action@v4 with: context: backend @@ -78,6 +80,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Push to Packages + if: github.ref == 'refs/heads/main' uses: docker/build-push-action@v4 with: context: .