Skip to content

Commit

Permalink
Build docker for arm 64- and 32bit too
Browse files Browse the repository at this point in the history
  • Loading branch information
meinname authored Mar 18, 2021
1 parent 45f54da commit 9db9f8b
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,29 @@ jobs:
body: Please refer to [this post](https://discourse.openbullet.dev/t/wip-how-to-download-and-start-openbullet-2/29) on the official forum to learn how to launch OpenBullet 2.

push_to_docker:
name: Push Docker image to Docker Hub
needs: build
runs-on: ubuntu-latest
steps:
- name: Check out the repo
name: Push Docker image to Docker Hub
needs: build
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
- name: Push to Docker Hub
uses: docker/build-push-action@v1
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: openbullet/openbullet2
tags: latest
-
name: Build and push
uses: docker/build-push-action@v2
with:
push: true
platforms: linux/amd64, linux/arm64, linux/arm/v7
tags: openbullet/openbullet2:latest

0 comments on commit 9db9f8b

Please sign in to comment.