.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"
docker_push_image:
needs: [check_secrets, tests]
needs: [check_secrets, tests, vm_tests]
permissions:
contents: read
packages: write