fixup SDK/x86-64/snapshot

That special case tries to tag a sdk container with `x86/64` where th
`/` is not allowed in a name. Replace it via `tr`.

Signed-off-by: Paul Spooren <mail@aparcar.org>
pull/79/head
Paul Spooren 2021-03-11 19:23:35 -10:00
parent f7a375b9dc
commit 7b11b13eee
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ for IMAGE in $DOCKER_IMAGE; do
docker tag "$TMP_IMAGE_NAME" "$IMAGE:$BRANCH"
if [ "$VERSION" == "snapshot" ]; then
docker tag "$TMP_IMAGE_NAME" "$IMAGE:$TARGET"
docker tag "$TMP_IMAGE_NAME" \
"$IMAGE":"$(echo "$TARGET" | tr '/' '-')"
docker tag "$TMP_IMAGE_NAME" "$IMAGE:latest"
fi
fi