mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-19 13:38:50 -04:00
try github actions matrix to improve speed
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
parent
653074c5f4
commit
bb58763308
11
.github/workflows/docker.yml
vendored
11
.github/workflows/docker.yml
vendored
@ -25,6 +25,13 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
|
- linux/arm/v6
|
||||||
|
- linux/arm/v7
|
||||||
needs: [check-token]
|
needs: [check-token]
|
||||||
if: needs.check-token.outputs.token_defined == 'true'
|
if: needs.check-token.outputs.token_defined == 'true'
|
||||||
steps:
|
steps:
|
||||||
@ -35,8 +42,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
with:
|
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
@ -61,7 +66,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: docker/Dockerfile
|
file: docker/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
|
platforms: ${{ matrix.platform }}
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user