Skip to content

Commit

Permalink
ci: do not push main builds (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
saumas authored Jul 10, 2023
1 parent fd6488e commit 6416462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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 }}

Expand Down

0 comments on commit 6416462

Please sign in to comment.