File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ jobs:
154
154
- name : Set up Docker Buildx
155
155
uses : docker/setup-buildx-action@v3
156
156
157
- - name : Set container metadata (for :next build )
157
+ - name : Set container metadata (for :next builds )
158
158
id : meta-next
159
159
if : ${{ env.REF_NAME_SHORT == 'next'}}
160
160
uses : docker/metadata-action@v5
@@ -189,6 +189,14 @@ jobs:
189
189
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
190
190
$(printf '${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
191
191
192
- - name : Inspect image
192
+ - name : Inspect image (for :next builds)
193
+ id : inspect-next
194
+ if : ${{ env.REF_NAME_SHORT == 'next'}}
195
+ run : |
196
+ docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE }}:${{ steps.meta-next.outputs.version }}
197
+
198
+ - name : Inspect image (for releases)
199
+ id : inspect-release
200
+ if : ${{ env.REF_NAME_SHORT != 'next'}}
193
201
run : |
194
- docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
202
+ docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.REGISTRY_IMAGE }}:${{ steps.meta-release .outputs.version }}
You can’t perform that action at this time.
0 commit comments