mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +00:00
Output digests before creating Docker manifest
Add commands to output digests from JSON files before creating a multi-architecture Docker manifest. Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
c4cada441a
commit
db0273d518
4
.github/workflows/build_docker.yml
vendored
4
.github/workflows/build_docker.yml
vendored
@ -192,8 +192,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Create multi arch manifest
|
- name: Create multi arch manifest
|
||||||
run: |
|
run: |
|
||||||
|
cat amd64.json
|
||||||
|
cat arm64.json
|
||||||
AMD64_DIGEST=$(jq -r '."containerimage.digest"' amd64.json)
|
AMD64_DIGEST=$(jq -r '."containerimage.digest"' amd64.json)
|
||||||
ARM64_DIGEST=$(jq -r '."containerimage.digest"' arm64.json)
|
ARM64_DIGEST=$(jq -r '."containerimage.digest"' arm64.json)
|
||||||
|
echo $AMD64_DIGEST
|
||||||
|
echo $ARM64_DIGEST
|
||||||
docker buildx imagetools create \
|
docker buildx imagetools create \
|
||||||
-t ${IMAGE}:${VERSION} \
|
-t ${IMAGE}:${VERSION} \
|
||||||
${IMAGE}@${AMD64_DIGEST} \
|
${IMAGE}@${AMD64_DIGEST} \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user