Skip to content

Commit 03f4423

Browse files
committed
fix tag calculation
1 parent 1562a5b commit 03f4423

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

jenkins/build_and_push_circle-ci-containers.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ else
99
ARCH="-arm64v8"
1010
fi
1111

12-
DOCKER_TAR_TAG=${1}arangodb/release-test-automation-tar-oskarnew:$2
12+
BASE_URL=$(echo "${1}" |sed 's;/test-ubuntu;;')
13+
14+
DOCKER_TAR_TAG="${BASE_URL}/release-test-automation-tar-oskarnew:${2}"
1315
$DOCKER build containers/docker_tar_oskarnew${ARCH} -t $DOCKER_TAR_TAG${ARCH} || exit
1416
$DOCKER push $DOCKER_TAR_TAG${ARCH} || exit

jenkins/build_and_push_circle-ci-manifests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/bash -x
22
. ./jenkins/common/detect_podman.sh
33

4-
DOCKER_TAR_OSKARNEW_TAG=arangodb/release-test-automation-tar-oskarnew:$1
4+
BASE_URL=$(echo "${1}" |sed 's;/test-ubuntu;;')
5+
6+
DOCKER_TAR_OSKARNEW_TAG="${BASE_URL}/release-test-automation-tar-oskarnew:${2}"
57

68
$DOCKER manifest rm $DOCKER_TAR_OSKARNEW_TAG
79
$DOCKER manifest create $DOCKER_TAR_OSKARNEW_TAG \

0 commit comments

Comments
 (0)