Skip to content

Commit

Permalink
testing manifes on both platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
alanprot committed Dec 15, 2022
1 parent e4b4429 commit 810d8f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions push-images
Expand Up @@ -32,12 +32,12 @@ push_image() {

for arch in amd64 arm64; do \
echo "Pushing ${image}-linux:${IMAGE_TAG}-$arch"
docker tag {image}:${IMAGE_TAG}-$arch {image}-linux:${IMAGE_TAG}-$arch
docker tag ${image}:${IMAGE_TAG}-$arch ${image}-linux:${IMAGE_TAG}-$arch
docker push ${image}-linux:${IMAGE_TAG}-$arch
done;

# docker manifest create ${image}:${IMAGE_TAG} --amend ${image}:${IMAGE_TAG}-amd64 --amend ${image}:${IMAGE_TAG}-arm64
# docker manifest push ${image}:${IMAGE_TAG}
docker manifest create ${image}:${IMAGE_TAG} --amend ${image}:${IMAGE_TAG}-amd64 --amend ${image}:${IMAGE_TAG}-arm64
docker manifest push ${image}:${IMAGE_TAG}


if [ -n "${NO_QUAY}" ]; then
Expand All @@ -53,8 +53,8 @@ push_image() {
docker push ${docker_hub_image}-linux:${IMAGE_TAG}-$arch
done;

#docker manifest create ${docker_hub_image}:${IMAGE_TAG} --amend ${docker_hub_image}-linux:${IMAGE_TAG}-amd64 --amend ${docker_hub_image}-linux:${IMAGE_TAG}-arm64
#docker manifest push ${docker_hub_image}:${IMAGE_TAG}
docker manifest create ${docker_hub_image}:${IMAGE_TAG} --amend ${docker_hub_image}-linux:${IMAGE_TAG}-amd64 --amend ${docker_hub_image}-linux:${IMAGE_TAG}-arm64
docker manifest push ${docker_hub_image}:${IMAGE_TAG}
}

for image in ${IMAGES}; do
Expand Down

0 comments on commit 810d8f3

Please sign in to comment.