Skip to content

Commit

Permalink
Docker ARM #384 #372
Browse files Browse the repository at this point in the history
  • Loading branch information
sbs20 committed Feb 15, 2022
1 parent 0ccaa30 commit 608d937
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up QEMU for multi-platform build
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

Expand All @@ -35,6 +38,7 @@ jobs:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/scanservjs:staging
target: scanservjs-core
platforms: linux/amd64,linux/arm64,linux/arm/v7

- name: Push master
if: github.ref == 'refs/heads/master'
Expand All @@ -43,6 +47,7 @@ jobs:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/scanservjs:latest
target: scanservjs-core
platforms: linux/amd64,linux/arm64,linux/arm/v7

- name: Get version
id: get_version
Expand All @@ -56,3 +61,4 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/scanservjs:release-${{ steps.get_version.outputs.VERSION }}
target: scanservjs-core
platforms: linux/amd64,linux/arm64,linux/arm/v7

0 comments on commit 608d937

Please sign in to comment.