We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a04055e commit 0b8ce5dCopy full SHA for 0b8ce5d
.github/workflows/Build.yml
@@ -4,6 +4,11 @@ on:
4
- master
5
pull_request:
6
workflow_dispatch:
7
+ inputs:
8
+ clean_cache:
9
+ description: Clean Docker cache before build, yes/no
10
+ default: 'no'
11
+ required: false
12
schedule:
13
- cron: '0 0 1 */2 *'
14
@@ -125,7 +130,7 @@ jobs:
125
130
restore-keys: |
126
131
${{ runner.os }}-${{ matrix.os.arch }}-${{ matrix.env.TARGET }}-buildx-
127
132
- name: Clean Docker cache
128
- if: "contains(github.event.head_commit.message, '[clean cache]')"
133
+ if: ${{ contains(github.event.head_commit.message, '[clean cache]') || github.event.inputs.clean_cache == 'yes' }}
129
134
continue-on-error: true
135
run: |
136
rm -rf /tmp/.buildx-cache
0 commit comments