Skip to content

Commit acaac26

Browse files
committed
feat(docker): add input to enable images signin
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 9a6f9d6 commit acaac26

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ on: # yamllint disable-line rule:truthy
113113
default: "gha"
114114
type: string
115115
required: false
116+
sign:
117+
description: |
118+
Sign built images.
119+
See <../../actions/docker/sign-images/README.md>.
120+
type: boolean
121+
default: true
122+
required: false
116123
secrets:
117124
oci-registry-password:
118125
description: |
@@ -514,6 +521,7 @@ jobs:
514521
const imagesToSign = Object.values(builtImages).map(image => image.images).flat();
515522
core.setOutput('images-to-sign', JSON.stringify(imagesToSign));
516523
- uses: ./self-workflow/actions/docker/sign-images
524+
if: inputs.sign
517525
with:
518526
images: ${{ steps.get-images-to-sign.outputs.images-to-sign }}
519527
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)