From b59b858ea52f7f52020a69c61618f75dd9071269 Mon Sep 17 00:00:00 2001 From: Eric Hermelin Date: Mon, 23 Jan 2023 11:01:04 +0100 Subject: [PATCH] fix: provenance not supported by gcr (#11) Co-authored-by: Jimmy Callin --- .github/workflows/publish-docker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index 28e2f89..2117d7b 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -50,6 +50,11 @@ on: description: "Sets the target stage to build" required: false default: "" + provenance: + type: string + description: Generate provenance attestation for the build (shorthand for --attest=type=provenance). Currently not working with gcr + required: false + default: false jobs: build-and-push-image: @@ -114,3 +119,4 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max target: ${{ inputs.target }} + provenance: ${{ inputs.provenance }}