chore: build for multiple platforms (#13248)
* build for multiple platforms * test in pr
This commit is contained in:
parent
85a1aa3ba0
commit
467ef28eea
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -2,6 +2,7 @@ name: Build & Push
|
||||
# Build & Push builds the simapp docker image on every push to main and
|
||||
# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
@ -54,5 +55,6 @@ jobs:
|
||||
- name: Publish to Docker Hub
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.prep.outputs.tags }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user