summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test-erlang-git.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/test-erlang-git.yaml b/.github/workflows/test-erlang-git.yaml
index d7f4e61ab0..c5255db286 100644
--- a/.github/workflows/test-erlang-git.yaml
+++ b/.github/workflows/test-erlang-git.yaml
@@ -16,8 +16,9 @@ jobs:
# buildbuddy caches the container image, so we must use a specific sha to ensure
# the latest is used
IMAGE=pivotalrabbitmq/rabbitmq-server-buildenv:linux-erlang-git-master
- docker pull ${IMAGE}
- PINNED_IMAGE="$(docker inspect --format='{{index .RepoDigests 0}}' $IMAGE)"
+
+ PINNED_IMAGE=$(skopeo inspect --format '{{.Digest}}' docker://$IMAGE)
+
npm install @bazel/buildozer
npx buildozer \
"dict_set exec_properties container-image:docker://${PINNED_IMAGE}" \