mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
ci: fix docker default tag
Docker uses "latest" as the default label instead of "master". This change will allow to docker run ghcr.io/nixos/nix without having to specify the label. It keeps the :master label on docker hub for back-compat.
This commit is contained in:
parent
0b47783d0a
commit
5598ce3e0f
1 changed files with 3 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -153,6 +153,8 @@ jobs:
|
|||
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
|
||||
|
||||
docker tag nix:$NIX_VERSION $IMAGE_ID:$NIX_VERSION
|
||||
docker tag nix:$NIX_VERSION $IMAGE_ID:master
|
||||
docker tag nix:$NIX_VERSION $IMAGE_ID:latest
|
||||
docker push $IMAGE_ID:$NIX_VERSION
|
||||
docker push $IMAGE_ID:latest
|
||||
# deprecated 2024-02-24
|
||||
docker push $IMAGE_ID:master
|
||||
|
|
Loading…
Reference in a new issue