Skip to content

Commit 66c1c98

Browse files
committed
ci: fix docker build for releases
1 parent 483b43b commit 66c1c98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/ci/create-docker-image.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,11 @@ docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"
6060

6161
for arch in $ARCHES
6262
do
63-
docker tag ${DOCKER_IMAGE}:${arch}-${DOCKER_TAG} ${DOCKER_IMAGE}:${arch}-latest
6463
docker push ${DOCKER_IMAGE}:${arch}-${DOCKER_TAG}
6564
[ -z "${platforms}" ] && platforms=linux/$arch || platforms=${platforms},linux/$arch
6665
done
6766

68-
manifest-tool --debug push from-args --platforms $platforms --template skydive/skydive:ARCH-latest --target skydive/skydive:latest
67+
manifest-tool --debug push from-args --platforms $platforms --template skydive/skydive:ARCH-${DOCKER_TAG} --target skydive/skydive:${DOCKER_TAG}
6968

7069
token=$(curl -X POST \
7170
-H "Content-Type: application/json" \

0 commit comments

Comments
 (0)