mirror of https://github.com/openwrt/docker.git
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
parent
f7a375b9dc
commit
7b11b13eee
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue