chore: build for multiple platforms (#13248)

* build for multiple platforms

* test in pr
This commit is contained in:
Marko 2022-09-12 20:20:50 +02:00 committed by GitHub
parent 85a1aa3ba0
commit 467ef28eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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