From 7885fe139a3c2b688246be9b05528b3d980b47ce Mon Sep 17 00:00:00 2001 From: Alex Vincent Date: Fri, 24 May 2024 02:58:17 +0200 Subject: [PATCH] F2calv/2024 04 only push packages on default branch (#40) * test optional image/chart push * revert --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f266f3a..468a0af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,7 @@ jobs: tag: ${{ needs.versioning.outputs.semVer }} tag-major: ${{ needs.versioning.outputs.major }} tag-minor: ${{ needs.versioning.outputs.minor }} + push-image: ${{ github.ref_name == github.event.repository.default_branch }} chart: uses: f2calv/gha-workflows/.github/workflows/helm-chart-package.yml@v1 @@ -52,6 +53,7 @@ jobs: registry: ghcr.io/${{ github.repository_owner }} chart-repository-prefix: charts/ tag: ${{ needs.versioning.outputs.semVer }} + push-chart: ${{ github.ref_name == github.event.repository.default_branch }} release: needs: [versioning, app, image, chart]