This commit is contained in:
Rok Garbas 2022-01-26 10:01:58 +01:00
parent 1eac5a6bd0
commit 4fc3c4da7b
No known key found for this signature in database
GPG key ID: A0E01EF44C27BF00

View file

@ -37,7 +37,7 @@ do
docker tag nix:$VERSION nixos/nix:$VERSION-$DOCKER_PLATFORM
if [ $PUSH_AS_LATEST -eq 1 ]; then
echo "=> Tagging docker image of version latest for $PLATFORM platform ..."
docker tag nix:$VERSION nixos/nix:latest
docker tag nix:$VERSION nixos/nix:latest-$DOCKER_PLATFORM
fi
echo "=> Pushing docker image of version $VERSION for $PLATFORM platform ..."
@ -45,7 +45,7 @@ do
docker push nixos/nix:$VERSION-$DOCKER_PLATFORM
if [ $PUSH_AS_LATEST -eq 1 ]; then
echo "=> Pushing docker image of version latest for $PLATFORM platform ..."
docker push nixos/nix:latest
docker push nixos/nix:latest-$DOCKER_PLATFORM
fi
DOCKER_MANIFEST="$DOCKER_MANIFEST --amend nixos/nix:$VERSION-$DOCKER_PLATFORM"