File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,18 +159,18 @@ jobs:
159159 - name : Create manifest list and push
160160 working-directory : ${{ runner.temp }}/digests
161161 env :
162- DRY_RUN : ${{case(env.publish,' ','--dry-run')}} # run the `docker buildx` command with --dry-run if we're not publishing a release
162+ DRY_RUN : ${{case(fromJSON( env.publish) ,' ','--dry-run')}} # run the `docker buildx` command with --dry-run if we're not publishing a release
163163 run : |
164164 docker buildx imagetools create ${{ env.DRY_RUN }} $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
165165 $(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
166166
167167 - name : Inspect image
168- if : ${{ env.publish }} # only publish on changes to `main`, or cutting a numbered release
168+ if : ${{ fromJSON( env.publish) }}
169169 run : |
170170 docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
171171
172172 - name : Notify Multitudes
173- if : ${{ env.publish }} # only publish on changes to `main`, or cutting a numbered release
173+ if : ${{ fromJSON( env.publish) }}
174174 run : |
175175 curl --request POST \
176176 --fail-with-body \
You can’t perform that action at this time.
0 commit comments