Add arm64 builds

This commit is contained in:
kolaente 2021-02-04 22:32:37 +01:00
parent 490ba2ea50
commit b8ccfbd190
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 18 additions and 1 deletions

View file

@ -596,7 +596,7 @@ depends_on:
platform: platform:
os: linux os: linux
arch: arm arch: arm64
trigger: trigger:
ref: ref:
@ -620,6 +620,18 @@ steps:
auto_tag: true auto_tag: true
auto_tag_suffix: linux-arm auto_tag_suffix: linux-arm
depends_on: [ fetch-tags ] depends_on: [ fetch-tags ]
- name: docker
image: plugins/docker:linux-arm64
pull: true
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: vikunja/api
auto_tag: true
auto_tag_suffix: linux-arm64
depends_on: [ fetch-tags ]
--- ---
kind: pipeline kind: pipeline

View file

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