mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
.github/ci: Push docker only when test succeeds
This commit is contained in:
parent
2f3764acbb
commit
c9433c0d18
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -128,7 +128,7 @@ jobs:
|
|||||||
- run: exec bash -c "nix-channel --update && nix-env -iA nixpkgs.hello && hello"
|
- run: exec bash -c "nix-channel --update && nix-env -iA nixpkgs.hello && hello"
|
||||||
|
|
||||||
docker_push_image:
|
docker_push_image:
|
||||||
needs: [check_secrets, tests]
|
needs: [check_secrets, tests, vm_tests]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
Loading…
Reference in New Issue
Block a user