aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2021-10-14 11:41:35 +0200
committerIsmaël Bouya <ismael.bouya@fretlink.com>2021-10-14 11:41:52 +0200
commita00409b6b9520a842308a6f945b8abece0ab51dd (patch)
tree2248e7a0daf88a92e28c57f25b5a59c96251e809
parent00c65cec5b98fa0e58180310c0700f8236bd9311 (diff)
downloaddocker-nix-a00409b6b9520a842308a6f945b8abece0ab51dd.tar.gz
docker-nix-a00409b6b9520a842308a6f945b8abece0ab51dd.tar.zst
docker-nix-a00409b6b9520a842308a6f945b8abece0ab51dd.zip
Fix github action
-rw-r--r--.github/workflows/docker.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 62cea6d..cd14344 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -33,8 +33,8 @@ jobs:
33 tags: ${{ env.TEST_TAG }} 33 tags: ${{ env.TEST_TAG }}
34 - name: Test 34 - name: Test
35 run: | 35 run: |
36 docker run -it --rm ${{ env.TEST_TAG }} 'nix-channel --list' 36 docker run --rm ${{ env.TEST_TAG }} 'nix-channel --list'
37 docker run -it --rm ${{ env.TEST_TAG }} 'nix-env -iA nixpkgs.hello && test "$(hello)" = "Hello, world!"' 37 docker run --rm ${{ env.TEST_TAG }} 'nix-env -iA nixpkgs.hello && test "$(hello)" = "Hello, world!"'
38 - name: Get the version 38 - name: Get the version
39 if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') 39 if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
40 id: get_version 40 id: get_version