50 lines
978 B
YAML
50 lines
978 B
YAML
platform: linux/amd64
|
|
|
|
matrix:
|
|
ELIXIR_VERSION:
|
|
- 1.14.5
|
|
- 1.15.7
|
|
OTP_VERSION:
|
|
- 25.3.2.8
|
|
- 26.2.1
|
|
TAG:
|
|
- 1.14-otp25
|
|
- 1.15-otp25
|
|
- 1.15-otp26
|
|
- 1.16-otp26
|
|
include:
|
|
- ELIXIR_VERSION: 1.14.5
|
|
OTP_VERSION: 25.3.2.8
|
|
TAG: 1.14-otp25
|
|
- ELIXIR_VERSION: 1.15.7
|
|
OTP_VERSION: 25.3.2.8
|
|
TAG: 1.15-otp25
|
|
- ELIXIR_VERSION: 1.15.7
|
|
OTP_VERSION: 26.2.1
|
|
TAG: 1.15-otp26
|
|
- ELIXIR_VERSION: 1.16.0
|
|
OTP_VERSION: 26.2.1
|
|
TAG: 1.16-otp26
|
|
|
|
|
|
variables:
|
|
- &on-release
|
|
when:
|
|
event:
|
|
- push
|
|
- tag
|
|
branch:
|
|
- main
|
|
|
|
pipeline:
|
|
build:
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
secrets: [docker_username, docker_password]
|
|
<<: *on-release
|
|
settings:
|
|
repo: akkoma/ci-base
|
|
dockerfile: Dockerfile
|
|
platforms: linux/amd64,linux/arm64/v8
|
|
tag: ${TAG}
|
|
build_args:
|
|
- TAG: ${ELIXIR_VERSION}-erlang-${OTP_VERSION}-alpine-3.18.4
|