CI: build & publish arm64 binaries 💚
v5 equivalent: 76c5885
This commit is contained in:
parent
11aa62d829
commit
2339f1752a
1 changed files with 4 additions and 0 deletions
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
|
@ -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
|
||||
|
@ -38,6 +40,7 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: |
|
||||
derhuerst/db-rest:6
|
||||
derhuerst/db-rest:latest
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue