Add arm64 builds

This commit is contained in:
kolaente 2021-02-04 21:46:45 +01:00
parent be92db49a9
commit 75a96c0b8d
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 42 additions and 1 deletions

View File

@ -307,7 +307,7 @@ depends_on:
platform:
os: linux
arch: arm
arch: arm64
trigger:
ref:
@ -351,6 +351,42 @@ steps:
ref:
- "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
type: docker

View File

@ -11,6 +11,11 @@ manifests:
platform:
architecture: amd64
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
platform: