X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=.woodpecker.yml;h=c97e3eb4fd8df1d8ac665833e039ddca96aacf8e;hb=2fe1484ed35d4537249a28e444a1fe3e82cfa382;hp=e0bc86a3618e6f28a441195ce1f1a88635921de3;hpb=2c8f57db989050507bfd1f1a5ccb6c02c6418595;p=akkoma diff --git a/.woodpecker.yml b/.woodpecker.yml index e0bc86a36..c97e3eb4f 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -14,6 +14,14 @@ variables: - stable - refs/tags/v* - refs/tags/stable-* + - &on-stable + when: + event: + - push + - tag + branch: + - stable + - refs/tags/stable-* - &on-point-release when: event: @@ -87,13 +95,12 @@ pipeline: # Canonical amd64 ubuntu22: - image: hexpm/elixir:1.13.4-erlang-25.0.2-ubuntu-jammy-20220428 + image: hexpm/elixir:1.13.4-erlang-24.3.4.5-ubuntu-jammy-20220428 <<: *on-release environment: MIX_ENV: prod DEBIAN_FRONTEND: noninteractive commands: - - rm config/emoji.txt - apt-get update && apt-get install -y cmake libmagic-dev rclone zip imagemagick libmagic-dev git build-essential g++ wget - *clean - echo "import Config" > config/prod.secret.exs @@ -108,15 +115,14 @@ pipeline: <<: *on-release secrets: *scw-secrets commands: - - export SOURCE=akkoma-amd64.zip - - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64.zip + - export SOURCE=akkoma-ubuntu-jammy.zip + - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-ubuntu-jammy.zip + - /bin/sh /entrypoint.sh + - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64-ubuntu-jammy.zip - /bin/sh /entrypoint.sh - environment: - SOURCE: akkoma-ubuntu-jammy.zip - DEST: scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-ubuntu-jammy.zip debian-bullseye: - image: elixir:1.13.4 + image: hexpm/elixir:1.13.4-erlang-24.3.4.5-debian-bullseye-20220801 <<: *on-release environment: MIX_ENV: prod @@ -145,8 +151,8 @@ pipeline: # Canonical amd64-musl musl: - image: elixir:1.13.4-alpine - <<: *on-release + image: hexpm/elixir:1.13.4-erlang-24.3.4.5-alpine-3.15.6 + <<: *on-stable environment: MIX_ENV: prod commands: @@ -161,7 +167,7 @@ pipeline: release-musl: image: akkoma/releaser - <<: *on-release + <<: *on-stable secrets: *scw-secrets commands: - export SOURCE=akkoma-amd64-musl.zip