We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1410de commit 0276202Copy full SHA for 0276202
1 file changed
.github/workflows/nightly.yml
@@ -2,6 +2,11 @@ name: Docker Build
2
3
on:
4
workflow_dispatch:
5
+ inputs:
6
+ push:
7
+ type: boolean
8
+ default: false
9
+ description: Push the images after build
10
schedule:
11
- cron: 0 20 * * *
12
@@ -135,6 +140,7 @@ jobs:
135
140
password: ${{ github.token }}
136
141
137
142
- name: Create manifest list and push
143
+ if: github.event_name == 'schedule' || inputs.push == true
138
144
working-directory: /tmp/digests
139
145
run: |
146
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
0 commit comments