Skip to content

Commit

Permalink
chore: add suffix to image tag
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
  • Loading branch information
Dominik Rosiek committed Feb 28, 2024
1 parent 3717f4f commit f50e69f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/push_docker_multiplatform_manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function push_manifest() {
;;
esac

TAGS_IN_MANIFEST+=("${REPO_URL}:${BUILD_TAG}-${BUILD_PLATFORM}-${BUILD_ARCH}")
TAGS_IN_MANIFEST+=("${REPO_URL}:${BUILD_TAG}${BUILD_TYPE_SUFFIX}-${BUILD_PLATFORM}-${BUILD_ARCH}")
done

echo "Tags in the manifest:"
Expand All @@ -76,11 +76,11 @@ function push_manifest() {
set -x
# Use docker manifest as docker buildx didn't create "${REPO_URL}:${BUILD_TAG}" correctly. It was containing only linux/amd64 image
docker manifest create \
"${REPO_URL}:${BUILD_TAG}" \
"${REPO_URL}:${BUILD_TAG}${BUILD_TYPE_SUFFIX}" \
"${TAGS_IN_MANIFEST[@]}"

docker manifest push \
"${REPO_URL}:${BUILD_TAG}"
"${REPO_URL}:${BUILD_TAG}${BUILD_TYPE_SUFFIX}"

docker manifest create \
"${REPO_URL}:latest${BUILD_TYPE_SUFFIX}" \
Expand Down

0 comments on commit f50e69f

Please sign in to comment.