From 32528b8e61138a6727f319e3240a05003a9a0cf3 Mon Sep 17 00:00:00 2001 From: Avi Miller Date: Fri, 28 Apr 2023 22:13:42 +1000 Subject: [PATCH] Fix build workflow logic to check against the right output Signed-off-by: Avi Miller --- .github/workflows/build-publish-images.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-publish-images.yml b/.github/workflows/build-publish-images.yml index a1614f1..6e5eac6 100644 --- a/.github/workflows/build-publish-images.yml +++ b/.github/workflows/build-publish-images.yml @@ -122,7 +122,7 @@ jobs: name: Build ol-repo-webserver image needs: check-base-images - if: github.event_name != 'schedule' || needs.check-base-images.outputs.build-reposync != 'NO' + if: github.event_name != 'schedule' || needs.check-base-images.outputs.build-webserver != 'NO' env: REGISTRY: ghcr.io IMAGE_NAME: djelibeybi/ol-repo-webserver @@ -163,7 +163,6 @@ jobs: - name: Build and push Docker image id: build-and-push uses: docker/build-push-action@v3 - if: github.event_name != 'schedule' || needs.check-base-images.outputs.build-webserver == 'YES' with: context: . file: ./Dockerfile.nginx