mirror of
https://github.com/ajnart/homarr.git
synced 2025-10-30 01:56:05 +01:00
Trying to implement multi platform build
This commit is contained in:
9
.github/workflows/docker.yml
vendored
9
.github/workflows/docker.yml
vendored
@@ -38,8 +38,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: ./out/
|
path: ./out/
|
||||||
key: ${{ github.sha }}
|
key: ${{ github.sha }}
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: docker build . --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
|
run: docker buildx build --platform linux/arm/v7,linux/amd64,linux/arm64 . --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
|
||||||
|
|
||||||
- name: Log in to registry
|
- name: Log in to registry
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user