Add arm64 builds

This commit is contained in:
kolaente 2021-02-04 21:46:45 +01:00
parent be92db49a9
commit 75a96c0b8d
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 42 additions and 1 deletions

View file

@ -307,7 +307,7 @@ depends_on:
platform: platform:
os: linux os: linux
arch: arm arch: arm64
trigger: trigger:
ref: ref:
@ -351,6 +351,42 @@ steps:
ref: ref:
- "refs/tags/**" - "refs/tags/**"
- name: docker-latest-arm64
image: plugins/docker:linux-arm64
pull: true
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: vikunja/frontend
auto_tag: true
auto_tag_suffix: linux-arm64
build_args:
- USE_RELEASE=true
- RELEASE_VERSION=master
when:
ref:
- refs/heads/master
- name: docker-version-arm64
image: plugins/docker:linux-arm64
pull: true
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: vikunja/frontend
auto_tag: true
auto_tag_suffix: linux-arm64
build_args:
- USE_RELEASE=true
- RELEASE_VERSION=${DRONE_TAG##v}
when:
ref:
- "refs/tags/**"
--- ---
kind: pipeline kind: pipeline
type: docker type: docker

View file

@ -11,6 +11,11 @@ manifests:
platform: platform:
architecture: amd64 architecture: amd64
os: linux os: linux
-
image: vikunja/frontend:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
platform:
architecture: arm64
os: linux
- -
image: vikunja/frontend:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm image: vikunja/frontend:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
platform: platform: