aboutsummaryrefslogtreecommitdiff
path: root/maintainers
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2022-01-26 10:01:58 +0100
committerRok Garbas <rok@garbas.si>2022-01-26 10:01:58 +0100
commit4fc3c4da7ba81a69c17063950933b45b39646949 (patch)
tree55a8435ef3b33d81ef23388cc4013ad69e5b1242 /maintainers
parent1eac5a6bd0352ff2366e1feedd01abbd83d59546 (diff)
typo
Diffstat (limited to 'maintainers')
-rwxr-xr-xmaintainers/push-docker.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintainers/push-docker.sh b/maintainers/push-docker.sh
index a705f0738..fe8fe174e 100755
--- a/maintainers/push-docker.sh
+++ b/maintainers/push-docker.sh
@@ -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"