ensure jq is installed
This commit is contained in:
@@ -19,8 +19,6 @@ tasks:
|
||||
- podman manifest create {{.IMAGE}}:{{.TAG}}
|
||||
- podman build {{.CLI_ARGS}} --platform linux/amd64,linux/arm64 --manifest {{.IMAGE}}:{{.TAG}} {{.CLI_ARGS}} -f Dockerfile ctx
|
||||
- |
|
||||
# get digests like:
|
||||
# podman manifest inspect {{.IMAGE}}:{{.TAG}} | jq -r '.manifests[].digest'
|
||||
DIGESTS=$(podman manifest inspect {{.IMAGE}}:{{.TAG}} | jq -r '.manifests[].digest')
|
||||
for DIGEST in $DIGESTS; do
|
||||
echo "Annotating digest: $DIGEST"
|
||||
|
||||
Reference in New Issue
Block a user