File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,17 @@ Authorization: Bearer ${token}
44
44
EOF
45
45
) "
46
46
47
- echo ; echo " export DOCKER_IMAGE='${name} :${tag} '"
47
+ cpu=' amd64'
48
+ digest=" $( curl --disable --user-agent ' ' --silent --fail --show-error \
49
+ --header ' Accept: application/json' \
50
+ --header @/dev/stdin \
51
+ " https://registry-1.docker.io/v2/library/${name} /manifests/${tag} " << EOF \
52
+ | jq --raw-output --arg cpu "${cpu} " '.manifests[] | select(.platform.architecture == $cpu and .platform.os == "linux") | .digest'
53
+ Authorization: Bearer ${token}
54
+ EOF
55
+ ) "
56
+
57
+ echo ; echo " export DOCKER_IMAGE='${name} @${digest} ' # ${tag} ${cpu} "
48
58
49
59
# Find out the latest AppVeyor CI Ubuntu worker image
50
60
Original file line number Diff line number Diff line change 3
3
# Copyright (C) Viktor Szakats. See LICENSE.md
4
4
# SPDX-License-Identifier: MIT
5
5
6
- export DOCKER_IMAGE=' debian: testing-20250908-slim'
6
+ export DOCKER_IMAGE=' debian@sha256:f698e6243e87c0d6b727daae959c3f15a64a3a39cc280a2dd1305d007b3d5f27 ' # testing-20250908-slim amd64
7
7
8
8
export CURL_VER_=' 8.16.0'
9
9
export CURL_HASH=40c8cddbcb6cc6251c03dea423a472a6cea4037be654ba5cf5dec6eb2d22ff1d
You can’t perform that action at this time.
0 commit comments