ci: fix include

This commit is contained in:
William Yang 2022-01-30 10:00:01 +01:00
parent 5206824743
commit 9a5c5a7776
1 changed files with 9 additions and 5 deletions

View File

@ -294,15 +294,17 @@ jobs:
- profile: emqx - profile: emqx
otp: 24.1.5-4 otp: 24.1.5-4
elixir: 1.13.2 elixir: 1.13.2
arch: amd64
build_elixir: with_elixir build_elixir: with_elixir
arch: amd64
os: ubuntu20.04 os: ubuntu20.04
build_machine: ubuntu-20.04
- profile: emqx - profile: emqx
otp: 24.1.5-4 otp: 24.1.5-4
elixir: 1.13.2 elixir: 1.13.2
arch: amd64
build_elixir: with_elixir build_elixir: with_elixir
arch: amd64
os: centos8 os: centos8
build_machine: ubuntu-20.04
defaults: defaults:
run: run:
@ -466,11 +468,13 @@ jobs:
- arch: amd64 - arch: amd64
build_machine: aws-arm64 build_machine: aws-arm64
include: include:
- profile: emqx - os: alpine3.14
profile: emqx
otp: 24.1.5-4 otp: 24.1.5-4
elixir: 1.13.2 elixir: 1.13.2
arch: amd64 arch: amd64
build_elixir: with_elixir build_elixir: with_elixir
build_machine: ubuntu-20.04
steps: steps:
- uses: AutoModality/action-clean@v1 - uses: AutoModality/action-clean@v1
@ -518,7 +522,7 @@ jobs:
with: with:
images: ${{ github.repository_owner }}/${{ matrix.profile }} images: ${{ github.repository_owner }}/${{ matrix.profile }}
flavor: | flavor: |
latest=${{ !github.event.release.prerelease }} latest=${{ github.event_name == 'release' && !github.event.release.prerelease }}
suffix=-elixir suffix=-elixir
tags: | tags: |
type=ref,event=branch type=ref,event=branch
@ -566,7 +570,7 @@ jobs:
push: ${{ github.event_name == 'release' && !github.event.release.prerelease }} push: ${{ github.event_name == 'release' && !github.event.release.prerelease }}
pull: true pull: true
no-cache: true no-cache: true
platforms: linux/amd64,linux/arm64 platforms: linux/${{ matrix.arch }}
tags: ${{ steps.meta-elixir.outputs.tags }} tags: ${{ steps.meta-elixir.outputs.tags }}
labels: ${{ steps.meta-elixir.outputs.labels }} labels: ${{ steps.meta-elixir.outputs.labels }}
build-args: | build-args: |