From b727f86c38edb839809e967e24b637e7e79588f3 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 1 Oct 2024 09:14:28 +0200 Subject: [PATCH] fix: only push images if ref is master --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1f19535..3ccbfb5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,9 +28,9 @@ jobs: run: | make all - name: "Push images" + if: ${{ github.ref == 'refs/heads/master' }} env: PUSH_DOCKER_HUB: true PUSH_GHCR: true run: | make all - if: github.ref == 'master'