Skip to content

Commit

Permalink
recheck logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaietta committed Jan 18, 2025
1 parent 0723c1e commit f18c4e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run-docker-build-and-test:
uses: ./.github/workflows/test.yaml
with:
rebuild-docker-images: true
rebuild-docker-images-call: true

deploy:
name: Build and Push Docker
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
type: 'boolean'
workflow_call: # Allow this workflow to be called from other workflows
inputs:
rebuild-docker-images:
rebuild-docker-images-call:
description: 'Rebuild all Docker images'
default: false
type: 'boolean'
Expand Down Expand Up @@ -50,7 +50,10 @@ jobs:
run-docker-build:
needs: check-if-docker-build
if: ${{ needs.check-if-docker-build.outputs.force-docker-build == 'true' || github.event.inputs.rebuild-docker-images == 'true' }}
if: |
needs.check-if-docker-build.outputs.force-docker-build == 'true' ||
github.event.inputs.rebuild-docker-images == 'true' || github.event.inputs.rebuild-docker-images == true ||
github.event.inputs.rebuild-docker-images-call == 'true' || github.event.inputs.rebuild-docker-images-call == true
uses: ./.github/workflows/docker-build.yml

test-linux:
Expand Down

0 comments on commit f18c4e3

Please sign in to comment.