tmp: use akkoma build image
[akkoma] / .woodpecker.yml
index 1e4f09985ae7464155f3be85a0a4e735dd87d9b0..955bbe7fd59b611083ce42b401c5c7c136cc47fb 100644 (file)
@@ -93,7 +93,6 @@ pipeline:
       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
@@ -101,22 +100,19 @@ pipeline:
       - *tag-build
       - mix deps.get --only prod
       - mix release --path release
-      - zip akkoma-amd64.zip -r release
+      - zip akkoma-ubuntu-jammy.zip -r release
 
   release-ubuntu22:
     image: akkoma/releaser
     <<: *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
-    environment:
-      SOURCE: akkoma-amd64.zip
-      DEST: scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64.zip
 
   debian-bullseye:
-    image: elixir:1.13.4
+    image: akkoma/debian
     <<: *on-release
     environment:
       MIX_ENV: prod
@@ -138,7 +134,9 @@ pipeline:
     secrets: *scw-secrets
     commands:
       - export SOURCE=akkoma-amd64.zip
-      - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-debian-bullseye.zip
+      - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-amd64.zip
+      - /bin/sh /entrypoint.sh
+      - export DEST=scaleway:akkoma-updates/$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}/akkoma-debian-stable.zip
       - /bin/sh /entrypoint.sh
 
   # Canonical amd64-musl