File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -142,13 +142,22 @@ jobs:
142142 id : image-ref
143143 run : echo "value=${{ steps.image-name.outputs.value }}@${{ steps.build.outputs.digest }}" >> "$GITHUB_OUTPUT"
144144
145+ - name : Fetch image
146+ run : skopeo --insecure-policy copy docker://${{ steps.image-ref.outputs.value }} oci-archive:image.tar
147+ if : inputs.publish
148+
145149 # Uncomment the following lines for debugging:
146150 # - name: Upload image as artifact
147151 # uses: actions/upload-artifact@v3
148152 # with:
149153 # name: "[${{ github.job }}] OCI tarball"
150154 # path: image.tar
151- #
155+
156+ - name : Extract OCI tarball
157+ run : |
158+ mkdir -p image
159+ tar -xf image.tar -C image
160+
152161 # - name: List tags
153162 # run: skopeo --insecure-policy list-tags oci:image
154163 #
You can’t perform that action at this time.
0 commit comments