Skip to content

Commit e6745f0

Browse files
committed
Adjust skip_push
1 parent ede5e98 commit e6745f0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build-docker-artifacts.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ on:
77
type: string
88
required: false
99
default: ""
10-
description: Comma separated list of build keys. Leave empty to run for all.
10+
description: "Comma separated list of build keys. Leave empty to run for all."
1111
push_to:
1212
type: string
1313
required: false
1414
default: ""
15-
description: Comma separated list of push keys. Leave empty to trigger for all.
15+
description: "Comma separated list of push keys. Leave empty to trigger for all."
1616
branch:
1717
type: string
1818
required: false
1919
skip_push:
20+
description: "Skip retagging and pushing the built images to customer registries"
2021
type: boolean
2122
required: false
2223
default: false
@@ -272,16 +273,15 @@ jobs:
272273
with:
273274
image-ref: ${{ matrix.component.image_ref }}
274275
# Disable scanning the current directory (defaults to .)
275-
scan-ref: '/dev/null'
276-
format: 'table'
277-
exit-code: '1'
276+
scan-ref: "/dev/null"
277+
format: "table"
278+
exit-code: "1"
278279
ignore-unfixed: false
279-
vuln-type: 'os,library'
280+
vuln-type: "os,library"
280281
severity: ${{ steps.set_severity.outputs.severity }}
281282
continue-on-error: false
282283

283284
- name: Push image
284-
if: ${{ inputs.skip_push != true }}
285285
# Instead of the docker/build-push-action@v6 which will rebuild the image, just push it directly
286286
run: docker push ${{ matrix.component.image_ref }}
287287

0 commit comments

Comments
 (0)