Skip to content

Commit

Permalink
multi arch build
Browse files Browse the repository at this point in the history
  • Loading branch information
morlay committed Aug 6, 2020
1 parent 8740af6 commit c346ba7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: buildx

on:
push:
branches: master

jobs:
buildx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: crazy-max/ghaction-docker-buildx@v1
with:
buildx-version: latest
qemu-version: latest
- run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- run: make dockerx
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dockerx:
docker buildx build --platform linux/amd64,linux/arm64 --push -t morlay/now-proxy:latest .

0 comments on commit c346ba7

Please sign in to comment.