From 8189de9d5011c03f616cecc2e2e2d2fec8f68a16 Mon Sep 17 00:00:00 2001 From: Eric Hermelin Date: Mon, 23 Jan 2023 10:49:35 +0100 Subject: [PATCH] Update publish-docker.yml compatibility issues with google cloud and provenance. https://github.com/docker/buildx/issues/1533 --- .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..b59f33b 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 }}