ci-base/.woodpecker/build-docker.yml

51 lines
977 B
YAML
Raw Normal View History

2024-01-01 20:55:15 +00:00
platform: linux/amd64
matrix:
ELIXIR_VERSION:
- 1.14.5
- 1.15.7
OTP_VERSION:
- 25.3.2.8
- 26.2.1
2024-01-01 20:58:03 +00:00
TAG:
- 1.14-otp25
- 1.15-otp25
- 1.15-otp26
- 1.16-otp26
2024-01-01 20:55:15 +00:00
include:
- ELIXIR_VERSION: 1.14.5
OTP_VERSION: 25.3.2.8
2024-01-01 20:58:03 +00:00
TAG: 1.14-otp25
2024-01-01 20:55:15 +00:00
- ELIXIR_VERSION: 1.15.7
OTP_VERSION: 25.3.2.8
2024-01-01 20:58:03 +00:00
TAG: 1.15-otp25
2024-01-01 20:55:15 +00:00
- ELIXIR_VERSION: 1.15.7
OTP_VERSION: 26.2.1
2024-01-01 20:58:03 +00:00
TAG: 1.15-otp26
2024-01-01 20:55:15 +00:00
- ELIXIR_VERSION: 1.16.0
OTP_VERSION: 26.2.1
2024-01-01 20:58:03 +00:00
TAG: 1.16-otp26
2024-01-01 20:55:15 +00:00
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
2024-01-01 20:58:03 +00:00
tag: ${TAG}
2024-01-01 20:55:15 +00:00
build_args:
2024-01-01 21:01:47 +00:00
- TAG=${ELIXIR_VERSION}-erlang-${OTP_VERSION}-alpine-3.18.4