Skip to content

Commit

Permalink
CI: build & publish arm64 binaries 💚
Browse files Browse the repository at this point in the history
v5 equivalent: 76c5885
  • Loading branch information
derhuerst committed Sep 19, 2023
1 parent 11aa62d commit 2339f17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
steps:
- name: check out the repo
uses: actions/checkout@v3
- name: set up QEMU
uses: docker/setup-qemu-action@v3
- name: configure Docker to use buildx
uses: docker/setup-buildx-action@v2
- name: log in to Docker Hub
Expand All @@ -38,6 +40,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
derhuerst/db-rest:6
derhuerst/db-rest:latest
Expand All @@ -63,6 +66,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/${{github.repository}}:v6_${{steps.hash.outputs.hash}}_${{steps.datetime.outputs.datetime}}
# https://docs.docker.com/build/ci/github-actions/examples/#github-cache
cache-from: type=gha
Expand Down

0 comments on commit 2339f17

Please sign in to comment.