Skip to content

Commit 7f435e4

Browse files
committed
Fix digest variable.
1 parent 2238581 commit 7f435e4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.buildkite/scripts/steps/ecp-internal-release.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,12 @@ buildkite-agent artifact download "build/distributions/**" . --step "packaging-s
4545
docker load -i ./build/distributions/elastic-agent-service-$DOCKER_TAG-$BUILD_VERSION-linux-amd64.docker.tar.gz
4646
docker image tag "elastic-agent-service:$DOCKER_TAG" "$PRIVATE_IMAGE"
4747
docker push "$PRIVATE_IMAGE"
48-
# DEBUG
49-
docker image inspect "$PRIVATE_IMAGE"
50-
ARM64_DIGEST=$(docker image inspect --format "{{index .RepoDigests 0}}" "$PRIVATE_IMAGE")
48+
AMD64_DIGEST=$(docker image inspect --format "{{index .RepoDigests 0}}" "$PRIVATE_IMAGE")
5149

5250
# ARM64 (overwrites AMD64 tags)
5351
docker load -i ./build/distributions/elastic-agent-service-$DOCKER_TAG-$BUILD_VERSION-linux-arm64.docker.tar.gz
5452
docker image tag "elastic-agent-service:$DOCKER_TAG" "$PRIVATE_IMAGE"
5553
docker push "$PRIVATE_IMAGE"
56-
# DEBUG
57-
docker image inspect "$PRIVATE_IMAGE"
5854
ARM64_DIGEST=$(docker image inspect --format "{{index .RepoDigests 0}}" "$PRIVATE_IMAGE")
5955

6056
# at this point the $PRIVATE_IMAGE is pointing to only the arm64 based image, we need the image to

0 commit comments

Comments
 (0)