CI: Only gate OCI image push on branch
All checks were successful
/ build (push) Successful in 3m31s

This commit is contained in:
Simon Bruder 2024-07-24 00:07:56 +02:00
parent 1f6298af4a
commit a72d5b40e2
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -4,8 +4,6 @@
on:
push:
branches:
- master
jobs:
build:
@ -25,6 +23,7 @@ jobs:
- name: Build
run: nix build -L .#li7y .#li7y-oci
- name: Push OCI image
if: github.ref == 'refs/heads/master'
run: |
nix build .#li7y-oci
podman image load -i ./result