mirror of
https://git.verdigado.com/NB-Public/simple-wkd.git
synced 2024-10-30 01:05:53 +01:00
Use a matrix to build for single archs in CI
This commit is contained in:
parent
0145fe4568
commit
ed6ade53d8
1 changed files with 5 additions and 1 deletions
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
|
@ -7,6 +7,10 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
[linux/amd64, linux/arm64, linux/arm/v7, linux/arm/v6, linux/386]
|
||||||
steps:
|
steps:
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v2
|
||||||
|
@ -20,7 +24,7 @@ jobs:
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/386
|
platforms: ${{ matrix.platform }}
|
||||||
push: true
|
push: true
|
||||||
tags: delta1925/simple-wkd:latest,delta1925/simple-wkd:${{ github.ref_name }}
|
tags: delta1925/simple-wkd:latest,delta1925/simple-wkd:${{ github.ref_name }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
Loading…
Reference in a new issue