aboutsummaryrefslogtreecommitdiff
path: root/.scripts.d
diff options
context:
space:
mode:
authorChristian Segundo2024-04-08 08:52:19 +0200
committerChristian Segundo2024-04-08 08:52:19 +0200
commit10c11dd38bda7036339bec412df96234e85130be (patch)
treef62342238e977338ba8a09c7d729526d81f34ffb /.scripts.d
parent64e6f380c5490ed29b3edba9a2ed16d24f6a88c4 (diff)
downloadjenkins-agent-docker-cli-10c11dd38bda7036339bec412df96234e85130be.tar.gz
fix builder name
Diffstat (limited to '.scripts.d')
-rw-r--r--.scripts.d/40-publish.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts.d/40-publish.sh b/.scripts.d/40-publish.sh
index 74f0a68..d9ab7f0 100644
--- a/.scripts.d/40-publish.sh
+++ b/.scripts.d/40-publish.sh
@@ -15,7 +15,7 @@ docker login --username "chn2guevara" \
BUILDER_SUFFIX=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 5 ; echo '')
docker run --privileged --rm tonistiigi/binfmt --install arm64
-docker buildx create --use --name multi-arch-builder
+docker buildx create --use --name "multi-arch-builder-${BUILDER_SUFFIX}"
trap "docker buildx rm 'multi-arch-builder-""${BUILDER_SUFFIX}""'" EXIT
DOCKER_TAG="latest"