Skip to content

Commit

Permalink
2024-06-20 13:54 - updates
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Jun 20, 2024
1 parent 257b932 commit 3c4fac4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/docker_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ runs:
echo "::warning::⚠ Forced build due input parameter"
fi
- name: Set up Docker BuildX
if: steps.image_status.outputs.updated != 'true' || inputs.rebuild
if: steps.image_status.outputs.updated != 'true' || inputs.rebuild == 'true'
uses: docker/[email protected]
with:
platforms: linux/amd64
Expand All @@ -144,7 +144,7 @@ runs:
image=moby/buildkit:v0.13.2
network=host
- name: Build and push
if: (steps.image_status.outputs.updated != 'true' || inputs.rebuild) && inputs.dryrun == 'true'
if: (steps.image_status.outputs.updated != 'true' || inputs.rebuild == 'true') && inputs.dryrun == 'true'
shell: bash
run: |
echo "::notice:: Dryrun build of ${{ steps.meta.outputs.tags }}"
Expand All @@ -156,7 +156,7 @@ runs:
echo " commit ${{ steps.last_commit.outputs.last_commit_short_sha }}"
- name: Build and push
if: (steps.image_status.outputs.updated != 'true' || inputs.rebuild) && inputs.dryrun != 'true'
if: (steps.image_status.outputs.updated != 'true' || inputs.rebuild == 'true') && inputs.dryrun != 'true'
id: build_push
uses: docker/build-push-action@v6
with:
Expand All @@ -180,7 +180,7 @@ runs:
VERSION=${{ steps.meta.outputs.version }}
SOURCE_COMMIT=${{ steps.last_commit.outputs.last_commit_short_sha }}
- name: Status
if: (steps.image_status.outputs.updated != 'true' || inputs.rebuild) && inputs.dryrun != 'true'
if: (steps.image_status.outputs.updated != 'true' || inputs.rebuild == 'true') && inputs.dryrun != 'true'
shell: bash
run: |
echo "::notice:: Image ${{ steps.meta.outputs.tags }} successfully built and pushed"

0 comments on commit 3c4fac4

Please sign in to comment.