From 641646252441056c3976a0c9481e61c305020ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saulius=20Ma=C5=A1nauskas?= Date: Mon, 10 Jul 2023 15:18:27 +0300 Subject: [PATCH] ci: do not push main builds (#127) --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fcf16907..ff9d38ae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -72,7 +72,7 @@ jobs: uses: docker/build-push-action@v3 with: context: . - push: ${{ github.event_name != 'pull_request' }} + push: false platforms: linux/arm64,linux/amd64 tags: us-docker.pkg.dev/castai-hub/library/agent:${{ github.sha }} @@ -82,7 +82,7 @@ jobs: with: context: . file: ./redhat/Dockerfile - push: ${{ github.event_name != 'pull_request' }} + push: false platforms: linux/arm64,linux/amd64 tags: us-docker.pkg.dev/castai-hub/library/agent-rh-ubi:${{ github.sha }}