Skip to content

Commit

Permalink
Fix build workflow logic to check against the right output
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Miller <[email protected]>
  • Loading branch information
Djelibeybi committed Apr 28, 2023
1 parent 549774c commit 32528b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-publish-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 32528b8

Please sign in to comment.