mirror of
https://github.com/immich-app/immich.git
synced 2025-06-03 05:34:32 -04:00
fix(ci): Repair broken docker build matrix (#1793)
* fix(ci): Typo in matrix.platforms ref * fix(ci): Add platforms key to every entry in matrix
This commit is contained in:
parent
e309647f1b
commit
917f1dea9f
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -16,17 +16,19 @@ jobs:
|
|||||||
# Prevent a failure in one image from stopping the other builds
|
# Prevent a failure in one image from stopping the other builds
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platforms: ["linux/arm/v7,linux/amd64,linux/arm64"]
|
|
||||||
include:
|
include:
|
||||||
- context: "server"
|
- context: "server"
|
||||||
image: "immich-server"
|
image: "immich-server"
|
||||||
|
platforms: "linux/arm/v7,linux/amd64,linux/arm64"
|
||||||
- context: "web"
|
- context: "web"
|
||||||
image: "immich-web"
|
image: "immich-web"
|
||||||
|
platforms: "linux/arm/v7,linux/amd64,linux/arm64"
|
||||||
- context: "machine-learning"
|
- context: "machine-learning"
|
||||||
image: "immich-machine-learning"
|
image: "immich-machine-learning"
|
||||||
platforms: "linux/amd64"
|
platforms: "linux/amd64"
|
||||||
- context: "nginx"
|
- context: "nginx"
|
||||||
image: "immich-proxy"
|
image: "immich-proxy"
|
||||||
|
platforms: "linux/arm/v7,linux/amd64,linux/arm64"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -94,7 +96,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v4.0.0
|
uses: docker/build-push-action@v4.0.0
|
||||||
with:
|
with:
|
||||||
context: ${{ matrix.context }}
|
context: ${{ matrix.context }}
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: ${{ matrix.platforms }}
|
||||||
# Skip pushing when PR from a fork
|
# Skip pushing when PR from a fork
|
||||||
push: ${{ !github.event.pull_request.head.repo.fork }}
|
push: ${{ !github.event.pull_request.head.repo.fork }}
|
||||||
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/immich-build-cache:${{matrix.image}}
|
cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/immich-build-cache:${{matrix.image}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user