mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-02 10:39:13 +00:00
feat: Enable multi-architecture Docker image builds (amd64, arm64)
Updates the GitHub Actions workflow (`.github/workflows/docker-publish.yml`) to build and push Docker images for both `linux/amd64` and `linux/arm64` architectures. The `platforms` attribute has been added to the `docker/build-push-action` step for both the backend and frontend jobs. This ensures that you on different CPU architectures can use the published images from ghcr.io.
This commit is contained in:
parent
5ff08e7b3f
commit
825dcad112
1 changed files with 2 additions and 0 deletions
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
|
@ -34,6 +34,7 @@ jobs:
|
|||
file: ./surfsense_backend/Dockerfile
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository_owner }}/surfsense_backend:${{ github.sha }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
labels: |
|
||||
org.opencontainers.image.source=${{ github.repositoryUrl }}
|
||||
org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||
|
@ -68,6 +69,7 @@ jobs:
|
|||
file: ./surfsense_web/Dockerfile
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository_owner }}/surfsense_web:${{ github.sha }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
labels: |
|
||||
org.opencontainers.image.source=${{ github.repositoryUrl }}
|
||||
org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||
|
|
Loading…
Add table
Reference in a new issue