23 - SCW_DEFAULT_ORGANIZATION_ID
24 image: ${docker_prefix}elixir:1.13
28 - apt-get update && apt-get install -y cmake libmagic-dev rclone zip
29 - wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
30 - mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
31 - chmod +x scaleway-cli
32 - ./scaleway-cli object config install type=rclone
33 - echo "import Mix.Config" > config/prod.secret.exs
34 - mix local.hex --force
35 - mix local.rebar --force
36 - mix deps.clean --all
37 - mix deps.get --only prod
39 - export PLEROMA_BUILD_BRANCH=develop
40 - mix release --path release
41 - zip akkoma-${tag}.zip -r release
42 - rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/develop/akkoma-${tag}.zip
51 - SCW_DEFAULT_ORGANIZATION_ID
53 image: ${docker_prefix}elixir:1.13-alpine
57 - apk add git gcc g++ musl-dev make cmake file-dev rclone wget zip
58 - rm -rf release || true
59 - rm -rf _build || true
61 - rm scaleway-cli || true
62 - wget https://github.com/scaleway/scaleway-cli/releases/download/v2.5.1/scaleway-cli_2.5.1_linux_amd64
63 - mv scaleway-cli_2.5.1_linux_amd64 scaleway-cli
64 - chmod +x scaleway-cli
65 - ./scaleway-cli object config install type=rclone
67 - mix local.hex --force
68 - mix local.rebar --force
69 - mix deps.clean --all
70 - mix deps.get --only prod
71 - mix release --path release
72 - export PLEROMA_BUILD_BRANCH=develop
73 - zip akkoma-${tag}.zip -r release
74 - rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/develop/akkoma-${tag}-musl.zip