ensure jq is installed
This commit is contained in:
@@ -17,6 +17,7 @@ packages:
|
|||||||
- qemu-openrc
|
- qemu-openrc
|
||||||
- qemu-modules
|
- qemu-modules
|
||||||
- qemu-aarch64
|
- qemu-aarch64
|
||||||
|
- jq
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- prep: |
|
- prep: |
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ tasks:
|
|||||||
- podman manifest create {{.IMAGE}}:{{.TAG}}
|
- podman manifest create {{.IMAGE}}:{{.TAG}}
|
||||||
- podman build {{.CLI_ARGS}} --platform linux/amd64,linux/arm64 --manifest {{.IMAGE}}:{{.TAG}} {{.CLI_ARGS}} -f Dockerfile ctx
|
- 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')
|
DIGESTS=$(podman manifest inspect {{.IMAGE}}:{{.TAG}} | jq -r '.manifests[].digest')
|
||||||
for DIGEST in $DIGESTS; do
|
for DIGEST in $DIGESTS; do
|
||||||
echo "Annotating digest: $DIGEST"
|
echo "Annotating digest: $DIGEST"
|
||||||
|
|||||||
Reference in New Issue
Block a user