Skip to content

Commit

Permalink
allow docker image build without caching
Browse files Browse the repository at this point in the history
  • Loading branch information
infinityofspace authored Nov 21, 2024
1 parent f1aee29 commit 4c08092
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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*"
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4c08092

Please sign in to comment.