File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ jobs:
116116| `docker-build-secrets` | List of secrets to expose to the build (e.g., key=string, GIT_AUTH_TOKEN=mytoken) | |
117117| `docker-build-secret-files` | List of secret files to expose to the build (e.g., key=filename, MY_SECRET=./secret.txt) | |
118118| `docker-build-target` | Sets the target stage to build like : " runtime" | |
119+ | `docker-build-provenance` | Generate [provenance](https://docs.docker.com/build/attestations/slsa-provenance/) attestation for the build | `false` |
119120| `gitops-organization` | GitHub Organization for GitOps | `Staffbase` |
120121| `gitops-repository` | GitHub Repository for GitOps | `mops` |
121122| `gitops-user` | GitHub User for GitOps | `Staffbot` |
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ inputs:
3232 docker-build-target :
3333 description : " Sets the target stage to build"
3434 required : false
35+ docker-build-provenance :
36+ description : " Generate provenance attestation for the build"
37+ required : false
38+ default : ' false'
3539 gitops-organization :
3640 description : ' GitHub Organization for GitOps'
3741 required : true
@@ -140,7 +144,7 @@ runs:
140144 platforms : linux/amd64
141145 cache-from : type=gha
142146 cache-to : type=gha,mode=max
143- provenance : false
147+ provenance : ${{ inputs.docker-build-provenance }}
144148
145149 - name : Checkout GitOps Repository
146150 if : inputs.gitops-token != ''
You can’t perform that action at this time.
0 commit comments