From 5d8b2d2f46339244c524a99da4bdb7ed595b9fc5 Mon Sep 17 00:00:00 2001 From: Rajat Jindal Date: Fri, 19 Apr 2024 14:36:23 +0530 Subject: [PATCH] test spin registry push Signed-off-by: Rajat Jindal --- .github/workflows/spin-registry-push.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/spin-registry-push.yaml b/.github/workflows/spin-registry-push.yaml index 2013a0d6..fd9c0c30 100644 --- a/.github/workflows/spin-registry-push.yaml +++ b/.github/workflows/spin-registry-push.yaml @@ -1,8 +1,7 @@ name: 'spin registry push' on: - push: - branches: - - use-spin-build + pull_request: + branches: ["main"] workflow_call: inputs: test: @@ -64,5 +63,4 @@ jobs: - name: test uses: docker/build-push-action@v5 - if: ${{ inputs.test }} run: spin registry push ghcr.io/${{ github.repository }}/${{ matrix.image.imageName }}:${{ env.RELEASE_VERSION }}