aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2022-01-21 14:40:34 +0100
committerRok Garbas <rok@garbas.si>2022-01-21 14:40:34 +0100
commitc79087eb2a19fcfea65e1f31fd087f858f0edd8c (patch)
tree52fdf292e1f6630b93fa8edb99e022c2859f9c4b /.github
parenta078a645da604ea68a0b619567b77c98fb9a63b3 (diff)
also tagging with latest commit with a `master` tag
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4ae182cf1..77d9f5250 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -98,9 +98,11 @@ jobs:
- run: nix-build -A checks.$(nix-instantiate --eval -E 'builtins.currentSystem' --json).dockerImage
- run: docker load -i ./result/image.tar.gz
- run: docker tag nix:$NIX_VERSION nixos/nix:$NIX_VERSION
+ - run: docker tag nix:$NIX_VERSION nixos/nix:master
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: docker push nixos/nix:$NIX_VERSION
+ - run: docker push nixos/nix:master