Skip to content

Commit

Permalink
Merge pull request #626 from niklr/issues/625
Browse files Browse the repository at this point in the history
ci: add Docker image multi-platform support for linux/arm64
  • Loading branch information
viteshan authored Sep 19, 2022
2 parents 7ef8153 + 344d93b commit 46bd60e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,18 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Available Docker platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Push to Docker Hub
uses: docker/build-push-action@v2
with:
push: true
context: .
file: docker/Dockerfile
platforms: linux/amd64, linux/arm64
tags: vitelabs/gvite:${{ github.event.inputs.tag }},vitelabs/gvite:latest

0 comments on commit 46bd60e

Please sign in to comment.