Refactor CI build #80

Merged
floatingghost merged 8 commits from refactor-ci into develop 2022-07-18 10:17:24 +00:00
Showing only changes of commit 1e869a2c95 - Show all commits

View file

@ -24,7 +24,7 @@ variables:
pipeline: pipeline:
glibc: glibc:
image: hexpm/elixir:1.13.4-erlang-24.3.4.2-ubuntu-focal-20211006 image: elixir:1.13
<<: *build-on <<: *build-on
secrets: *scw-secrets secrets: *scw-secrets
environment: environment:
@ -42,7 +42,7 @@ pipeline:
- rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$BUILD_TAG/akkoma-${tag}.zip - rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$BUILD_TAG/akkoma-${tag}.zip
musl: musl:
image: hexpm/elixir:1.13.4-erlang-24.3.4.2-alpine-3.16.0 image: elixir:1.13-alpine
<<: *build-on <<: *build-on
secrets: *scw-secrets secrets: *scw-secrets
environment: environment:
@ -57,13 +57,3 @@ pipeline:
- mix release --path release - mix release --path release
- zip akkoma-${tag}.zip -r release - zip akkoma-${tag}.zip -r release
- rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$BUILD_TAG/akkoma-${tag}-musl.zip - rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$BUILD_TAG/akkoma-${tag}-musl.zip
docker:
image: woodpeckerci/plugin-docker-buildx
<<: *build-on
secrets: [docker_username, docker_password]
settings:
repo: akkoma/akkoma
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
tag: [latest, alpine]