mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
Merge pull request #219 from muety/docker-arm
Build and push arm64 Docker image
This commit is contained in:
commit
23fc1b62cc
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
@ -14,6 +14,9 @@ jobs:
|
|||||||
- name: Get version
|
- name: Get version
|
||||||
run: echo "GIT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
run: echo "GIT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v1
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
@ -38,6 +41,7 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
n1try/wakapi:${{ env.GIT_TAG }}
|
n1try/wakapi:${{ env.GIT_TAG }}
|
||||||
n1try/wakapi:latest
|
n1try/wakapi:latest
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
|
|
||||||
@ -49,5 +53,6 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
n1try/wakapi:${{ env.GIT_TAG }}-alpine
|
n1try/wakapi:${{ env.GIT_TAG }}-alpine
|
||||||
n1try/wakapi:latest-alpine
|
n1try/wakapi:latest-alpine
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
|
Loading…
Reference in New Issue
Block a user