Skip to content

Commit

Permalink
client+server: push Docker images only after merge to maint
Browse files Browse the repository at this point in the history
  • Loading branch information
zakame committed Sep 1, 2024
1 parent 4fbb0a3 commit b1f580b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- name: Build container
run: >
docker buildx build --push
docker buildx build ${{ github.event_name != 'pull_request' && '--push' || '' }}
--platform linux/amd64,linux/arm/v7,linux/arm64/v8
--build-arg BUILD_INFO=v${{ steps.metadata.outputs.build_info }}
--build-arg BUILD_DATE=${{ steps.metadata.outputs.build_date }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:

- name: Build container
run: >
docker buildx build --push
docker buildx build ${{ github.event_name != 'pull_request' && '--push' || '' }}
--platform linux/amd64,linux/arm/v7,linux/arm64/v8
--build-arg BUILD_INFO=v${{ steps.metadata.outputs.build_info }}
--build-arg BUILD_DATE=${{ steps.metadata.outputs.build_date }}
Expand Down

0 comments on commit b1f580b

Please sign in to comment.