.github/ci: Push docker only when test succeeds

This commit is contained in:
Robert Hensing 2024-11-15 11:37:17 +01:00
parent 2f3764acbb
commit c9433c0d18

View File

@ -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