Get image digest from buildah
This commit is contained in:
@@ -62,5 +62,5 @@ build:
|
||||
buildah push $FULL_IMAGE_NAME:$TAG
|
||||
done
|
||||
- DIGEST=($(buildah images --format '{{.Digest}}' $FULL_IMAGE_NAME:$TAGS))
|
||||
- IMAGE_DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' $FULL_IMAGE_NAME:$TAGS)
|
||||
- IMAGE_DIGEST=$(buildah inspect --format='{{index .RepoDigests 0}}' $FULL_IMAGE_NAME:$TAGS)
|
||||
- cosign sign $IMAGE_DIGEST
|
||||
|
||||
Reference in New Issue
Block a user