Commit 8f136221 authored by Laurent Wouters's avatar Laurent Wouters
Browse files

[releng] Fixed version tag of docker images

parent 1464519f375a
......@@ -10,5 +10,4 @@ VERSION=$(hg -R "$ROOT" id -n)
HASH=$(hg -R "$ROOT" --debug id -i)
# Build the new image
docker build --tag "logilab/ld-build-env:$VERSION" --rm --label version="$VERSION" --label changeset="$HASH" "$RELENG"
docker tag "logilab/ld-build-env:$VERSION" "logilab/ld-build-env:latest"
docker build --tag "logilab/ld-build-env:latest" --rm --label changeset="$HASH" "$RELENG"
......@@ -20,5 +20,4 @@ fi
docker run -it --rm --user=$(id -u) --group-add=$(id -g) -v "$ROOT:/src" -e "HOME=/npm" "logilab/ld-build-env:latest" /src/.releng/build-src.sh
# Build the new image
docker build --tag "logilab/ld-demo-views:$VERSION" --rm --label version="$VERSION" --label changeset="$HASH" "$ROOT/views-logilab"
docker tag "logilab/ld-demo-views:$VERSION" "logilab/ld-demo-views:latest"
docker build --tag "logilab/ld-demo-views:latest" --rm --label changeset="$HASH" "$ROOT/views-logilab"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment