We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1136f85 commit 1053f72Copy full SHA for 1053f72
1 file changed
.github/workflows/docker-image.yml
@@ -43,10 +43,10 @@ jobs:
43
- name: Build and Push Docker image
44
uses: docker/build-push-action@v5
45
with:
46
- platforms: linux/amd64,linux/arm64
+ platforms: ${{ github.event_name == 'pull_request' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
47
tags: |
48
jonathanpotts/babelfishpg:${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
49
jonathanpotts/babelfishpg:latest
50
build-args:
51
BABELFISH_VERSION=${{ steps.get_babelfish_latest.outputs.babelfish_tag }}
52
- push: true
+ push: ${{ github.event_name != 'pull_request' }}
0 commit comments