mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-28 20:47:49 +01:00
docker for arm
This commit is contained in:
4
.github/workflows/server.yml
vendored
4
.github/workflows/server.yml
vendored
@@ -114,7 +114,8 @@ jobs:
|
|||||||
# https://github.com/docker/setup-buildx-action
|
# https://github.com/docker/setup-buildx-action
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
# Login against a Docker registry except on PR
|
# Login against a Docker registry except on PR
|
||||||
# https://github.com/docker/login-action
|
# https://github.com/docker/login-action
|
||||||
- name: Log into registry ${{ env.REGISTRY }}
|
- name: Log into registry ${{ env.REGISTRY }}
|
||||||
@@ -142,6 +143,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile.ci
|
file: ./Dockerfile.ci
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ version: "3.2"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
dhfs1:
|
dhfs1:
|
||||||
build: .
|
image: ghcr.io/usatiuk/dhfs:main
|
||||||
|
# build: .
|
||||||
privileged: true
|
privileged: true
|
||||||
devices:
|
devices:
|
||||||
- /dev/fuse
|
- /dev/fuse
|
||||||
@@ -12,7 +13,8 @@ services:
|
|||||||
- 8081:8443
|
- 8081:8443
|
||||||
- 5005:5005
|
- 5005:5005
|
||||||
dhfs2:
|
dhfs2:
|
||||||
build: .
|
image: ghcr.io/usatiuk/dhfs:main
|
||||||
|
# build: .
|
||||||
privileged: true
|
privileged: true
|
||||||
devices:
|
devices:
|
||||||
- /dev/fuse
|
- /dev/fuse
|
||||||
|
|||||||
Reference in New Issue
Block a user