correct build conditions

This commit is contained in:
FloatingGhost 2023-07-27 14:21:12 +01:00
parent b63fca2dd7
commit 800c4bc442
3 changed files with 7 additions and 20 deletions

View file

@ -24,13 +24,6 @@ variables:
- tag - tag
branch: branch:
- stable - stable
- &on-point-release
when:
event:
- push
branch:
- develop
- stable
- &on-pr-open - &on-pr-open
when: when:
event: event:
@ -101,7 +94,7 @@ pipeline:
# Canonical amd64-musl # Canonical amd64-musl
musl: musl:
image: hexpm/elixir:1.14.3-erlang-25.2.2-alpine-3.18.0 image: hexpm/elixir:1.14.3-erlang-25.2.2-alpine-3.18.0
<<: *on-point-release <<: *on-stable
environment: environment:
MIX_ENV: prod MIX_ENV: prod
commands: commands:
@ -116,7 +109,7 @@ pipeline:
release-musl: release-musl:
image: akkoma/releaser image: akkoma/releaser
<<: *on-point-release <<: *on-stable
secrets: *scw-secrets secrets: *scw-secrets
commands: commands:
- export SOURCE=akkoma-amd64-musl.zip - export SOURCE=akkoma-amd64-musl.zip

View file

@ -23,12 +23,6 @@ variables:
- tag - tag
branch: branch:
- stable - stable
- &on-point-release
when:
event:
- push
branch:
- stable
- &on-pr-open - &on-pr-open
when: when:
event: event:
@ -70,7 +64,7 @@ pipeline:
debian-bullseye: debian-bullseye:
image: hexpm/elixir:1.14.3-erlang-25.2.2-debian-bullseye-20230109 image: hexpm/elixir:1.14.3-erlang-25.2.2-debian-bullseye-20230109
<<: *on-point-release <<: *on-stable
environment: environment:
MIX_ENV: prod MIX_ENV: prod
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
@ -87,7 +81,7 @@ pipeline:
release-debian: release-debian:
image: akkoma/releaser:arm64 image: akkoma/releaser:arm64
<<: *on-point-release <<: *on-stable
secrets: *scw-secrets secrets: *scw-secrets
commands: commands:
- export SOURCE=akkoma-arm64.zip - export SOURCE=akkoma-arm64.zip
@ -99,7 +93,7 @@ pipeline:
# Canonical arm64-musl # Canonical arm64-musl
musl: musl:
image: hexpm/elixir:1.14.3-erlang-25.2.2-alpine-3.18.0 image: hexpm/elixir:1.14.3-erlang-25.2.2-alpine-3.18.0
<<: *on-point-release <<: *on-stable
environment: environment:
MIX_ENV: prod MIX_ENV: prod
commands: commands:
@ -114,7 +108,7 @@ pipeline:
release-musl: release-musl:
image: akkoma/releaser:arm64 image: akkoma/releaser:arm64
<<: *on-point-release <<: *on-stable
secrets: *scw-secrets secrets: *scw-secrets
commands: commands:
- export SOURCE=akkoma-arm64-musl.zip - export SOURCE=akkoma-arm64-musl.zip

View file

@ -24,7 +24,7 @@ Use the following mapping to figure out your flavour:
| debian bullseye | amd64 | amd64 | develop, stable | | debian bullseye | amd64 | amd64 | develop, stable |
| debian bullseye | arm64 | arm64 | stable | | debian bullseye | arm64 | arm64 | stable |
| ubuntu focal | amd64 | amd64 | develop, stable | | ubuntu focal | amd64 | amd64 | develop, stable |
| ubuntu focal | arm64 | arm64 | stable | | ubuntu focal | arm64 | arm64 | develop, stable |
| ubuntu jammy | amd64 | amd64-ubuntu-jammy | develop, stable | | ubuntu jammy | amd64 | amd64-ubuntu-jammy | develop, stable |
| ubuntu jammy | arm64 | arm64-ubuntu-jammy | stable | | ubuntu jammy | arm64 | arm64-ubuntu-jammy | stable |
| alpine | amd64 | amd64-musl | stable | | alpine | amd64 | amd64-musl | stable |