Skip to content

Commit

Permalink
Merge pull request #14 from /issues/13
Browse files Browse the repository at this point in the history
ci: add Docker image multi-platform support for linux/arm64
  • Loading branch information
KarlChristomer authored Sep 13, 2022
2 parents 8a948d8 + 6e6562d commit 70e8e53
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/govite-nightly-build-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,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-nightly:${{ github.event.inputs.tag }}-${{ steps.version.outputs.version }}
8 changes: 8 additions & 0 deletions .github/workflows/govite-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,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-nightly:${{ steps.step0.outputs.tag }}-${{ steps.version.outputs.version }},vitelabs/gvite-nightly:${{ steps.step0.outputs.tag }}-latest,vitelabs/gvite-nightly:latest

0 comments on commit 70e8e53

Please sign in to comment.