Browse Source

feat: add debug step to check image metadata in workflow

Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
pull/4566/head
maksim.nabokikh 4 weeks ago
parent
commit
5f2f4e8715
  1. 7
      .github/workflows/artifacts.yaml

7
.github/workflows/artifacts.yaml

@ -155,6 +155,13 @@ jobs:
run: skopeo --insecure-policy copy docker://${{ steps.image-ref.outputs.value }} oci-archive:image.tar
if: inputs.publish
- name: Debug - Check metadata
run: |
echo "digest: ${{ steps.build.outputs.digest }}"
echo "imageid: ${{ steps.build.outputs.imageid }}"
echo '${{ steps.build.outputs.metadata }}' > metadata.json
cat metadata.json
# Uncomment the following lines for debugging:
# - name: Upload image as artifact
# uses: actions/upload-artifact@v3

Loading…
Cancel
Save