Skip to content

Commit ecd55ae

Browse files
committed
prevent omitting 'show dockerfile lint error' step
1 parent a2b316f commit ecd55ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-product.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
config: .github/linters/.hadolint.yaml
7575
recursive: true
7676
- name: show dockerfile lint error
77-
if: ${{ steps.lint-docker.outcome == 'failure' }}
77+
if: ${{ failure() && steps.lint-docker.outcome == 'failure' }}
7878
run: |
7979
echo ${{ steps.lint-docker.outcome }}
8080
echo -e "#### Docker Lint Result: ${{ steps.lint-docker.outputs.results }}"

0 commit comments

Comments
 (0)