Browse Source

Add arm64 builds

master
kolaente 10 months ago
parent
commit
75a96c0b8d
Signed by untrusted user: konrad GPG Key ID: F40E70337AB24C9B
  1. 38
      .drone.yml
  2. 5
      docker-manifest.tmpl

38
.drone.yml

@ -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

5
docker-manifest.tmpl

@ -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:

Loading…
Cancel
Save