Skip to content

Commit

Permalink
Merge pull request #84 from Staffbase/provenance3
Browse files Browse the repository at this point in the history
  • Loading branch information
timdittler authored Apr 2, 2024
2 parents 4930499 + 78a6ff6 commit c46ee04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
| `docker-build-secrets` | List of secrets to expose to the build (e.g., key=string, GIT_AUTH_TOKEN=mytoken) | |
| `docker-build-secret-files` | List of secret files to expose to the build (e.g., key=filename, MY_SECRET=./secret.txt) | |
| `docker-build-target` | Sets the target stage to build like: "runtime" | |
| `docker-build-provenance` | Generate [provenance](https://docs.docker.com/build/attestations/slsa-provenance/) attestation for the build | `false` |
| `gitops-organization` | GitHub Organization for GitOps | `Staffbase` |
| `gitops-repository` | GitHub Repository for GitOps | `mops` |
| `gitops-user` | GitHub User for GitOps | `Staffbot` |
Expand Down
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ inputs:
docker-build-target:
description: "Sets the target stage to build"
required: false
docker-build-provenance:
description: "Generate provenance attestation for the build"
required: false
default: 'false'
gitops-organization:
description: 'GitHub Organization for GitOps'
required: true
Expand Down Expand Up @@ -140,7 +144,7 @@ runs:
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
provenance: ${{ inputs.docker-build-provenance }}

- name: Checkout GitOps Repository
if: inputs.gitops-token != ''
Expand Down

0 comments on commit c46ee04

Please sign in to comment.