diff options
author | ismaelbouyaf <ismael.bouya@fretlink.com> | 2021-10-14 15:03:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 15:03:56 +0200 |
commit | a2c9e219463ea33db5fd57ac178b459bc6d754b5 (patch) | |
tree | 2248e7a0daf88a92e28c57f25b5a59c96251e809 | |
parent | 00c65cec5b98fa0e58180310c0700f8236bd9311 (diff) | |
parent | a00409b6b9520a842308a6f945b8abece0ab51dd (diff) | |
download | docker-nix-a2c9e219463ea33db5fd57ac178b459bc6d754b5.tar.gz docker-nix-a2c9e219463ea33db5fd57ac178b459bc6d754b5.tar.zst docker-nix-a2c9e219463ea33db5fd57ac178b459bc6d754b5.zip |
Merge pull request #13 from ismaelbouyaf/fix-github-action
Fix github action
-rw-r--r-- | .github/workflows/docker.yml | 4 |
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 |