Skip to content

Commit

Permalink
Add ARM build to docker-build.yml (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteinLTU authored Jan 29, 2025
1 parent ea4099b commit 1e1944b
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,25 @@ jobs:
echo "TAG=nightly" >> $GITHUB_ENV
if: github.event_name == 'push'

- name: Publish to Docker Hub
uses: elgohr/Publish-Docker-Github-Action@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
name: netsblox/services
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
tags: "${{ env.TAG }},${{ env.RELEASE_TAG }}"
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
netsblox/services:${{ env.TAG }}
netsblox/services:${{ env.RELEASE_TAG }}

0 comments on commit 1e1944b

Please sign in to comment.