Skip to content

Commit 2e8496d

Browse files
committed
fix: wip
1 parent 6057e05 commit 2e8496d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)