mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-10 04:47:25 +07:00
chore: use matrix for docker image building
This commit is contained in:
parent
a7eece0887
commit
f0c758a89a
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -137,6 +137,9 @@ jobs:
|
|||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
platform: [ linux/arm, linux/arm64, linux/amd64 ]
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout codebase
|
- name: Checkout codebase
|
||||||
@ -173,7 +176,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
file: Dockerfile
|
file: Dockerfile
|
||||||
platforms: linux/arm,linux/arm64,linux/amd64
|
platforms: ${{ matrix.platform }}
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ steps.prep.outputs.IMAGE }}:${{ steps.prep.outputs.TAG }}
|
${{ steps.prep.outputs.IMAGE }}:${{ steps.prep.outputs.TAG }}
|
||||||
|
Loading…
Reference in New Issue
Block a user