Skip to content

Commit 82851b4

Browse files
committed
ci(pipeline): fix build push condition check
- Updates the condition to determine if a build is required based on the output from the requires_build step. - Ensures the correct logic is applied to handle the build push actions.
1 parent 48ba34a commit 82851b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pipeline.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: evaluate - requires_build_push
9696
id: requires_build_push
9797
run: |
98-
if [ "${{ steps.requires_build.outputs.result }}" = "true" ]; then
98+
if [ "${{ steps.requires_build.outputs.result }}" = "false" ]; then
9999
result=true
100100
else
101101
result=false
@@ -185,7 +185,7 @@ jobs:
185185
uses: docker/build-push-action@v5
186186
with:
187187
context: ${{ env.containerImageBuildContext }}
188-
file: s${{ env.containerImageBuildDockerfile }}
188+
file: ${{ env.containerImageBuildDockerfile }}
189189
push: ${{ needs.discovery.outputs.requiresBuildPush == 'true' }}
190190
provenance: false
191191
platforms: linux/amd64,linux/arm/v7,linux/arm64

0 commit comments

Comments
 (0)