From 4c0809291e535c31444e0e6482cf0eee07070fdd Mon Sep 17 00:00:00 2001 From: infinityofspace <30715462+infinityofspace@users.noreply.github.com> Date: Thu, 21 Nov 2024 22:25:02 +0100 Subject: [PATCH] allow docker image build without caching --- .github/workflows/docker-publish-release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/docker-publish-release.yml b/.github/workflows/docker-publish-release.yml index f8096e2..6ad8bbb 100644 --- a/.github/workflows/docker-publish-release.yml +++ b/.github/workflows/docker-publish-release.yml @@ -2,6 +2,11 @@ name: docker release on: workflow_dispatch: + inputs: + no-cache: + description: "Disable Docker build cache" + required: false + default: "false" push: tags: - "v*" @@ -45,6 +50,7 @@ jobs: uses: docker/build-push-action@v6 with: push: true + no-cache: ${{ inputs.no-cache || 'false' }} tags: | ${{ secrets.DOCKER_USERNAME }}/certbot_dns_duckdns:unstable ${{ secrets.DOCKER_USERNAME }}/certbot_dns_duckdns:latest @@ -55,6 +61,7 @@ jobs: platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 cache-from: type=gha cache-to: type=gha,mode=max + - name: Attest uses: actions/attest-build-provenance@v1 id: attest