Skip to content

Commit

Permalink
fix: tell skopeo to use docker
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Jan 5, 2025
1 parent 958d153 commit cdd2709
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ jobs:
podman image tag $IMAGE ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}
IMAGE=${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}
skopeo inspect --raw containers-storage:$IMAGE
IMAGE_DIGEST=$(skopeo inspect --raw containers-storage:$IMAGE | jq -r '.Digest')
podman image ls
skopeo inspect --raw docker://$IMAGE
IMAGE_DIGEST=$(skopeo inspect --raw docker://$IMAGE | jq -r '.Digest')
echo "image=$IMAGE" >> $GITHUB_OUTPUT
echo "digest=$IMAGE_DIGEST" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit cdd2709

Please sign in to comment.