multiarch
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2022-06-10 23:54:52 +02:00
parent ac93e435be
commit 476ba9bb82
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -27,48 +27,18 @@ trigger:
event:
- tag
# ---
# kind: pipeline
# type: docker
# name: linux-arm64
# platform:
# arch: arm64
# os: linux
# steps:
# - name: build_and_publish
# image: plugins/docker:linux-arm64
# settings:
# dockerfile: Dockerfile
# force_tag: true
# password:
# from_secret: docker_password
# registry: docker.asperti.com
# repo: docker.asperti.com/paspo/ftps
# username:
# from_secret: docker_username
# tags:
# - ${DRONE_TAG}-linux-arm64
# - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64
# - ${DRONE_SEMVER_MAJOR}-linux-arm64
# trigger:
# event:
# - tag
---
kind: pipeline
type: docker
name: linux-arm
name: linux-arm64
platform:
arch: arm
arch: arm64
os: linux
steps:
- name: build_and_publish
image: plugins/docker:linux-arm
image: plugins/docker:linux-arm64
settings:
dockerfile: Dockerfile
force_tag: true
@ -79,14 +49,44 @@ steps:
username:
from_secret: docker_username
tags:
- ${DRONE_TAG}-linux-arm
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm
- ${DRONE_SEMVER_MAJOR}-linux-arm
- ${DRONE_TAG}-linux-arm64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64
- ${DRONE_SEMVER_MAJOR}-linux-arm64
trigger:
event:
- tag
# ---
# kind: pipeline
# type: docker
# name: linux-arm
# platform:
# arch: arm
# os: linux
# steps:
# - name: build_and_publish
# image: plugins/docker:linux-arm
# settings:
# dockerfile: Dockerfile
# force_tag: true
# password:
# from_secret: docker_password
# registry: docker.asperti.com
# repo: docker.asperti.com/paspo/ftps
# username:
# from_secret: docker_username
# tags:
# - ${DRONE_TAG}-linux-arm
# - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm
# - ${DRONE_SEMVER_MAJOR}-linux-arm
# trigger:
# event:
# - tag
---
kind: pipeline
type: docker
@ -114,6 +114,6 @@ trigger:
- tag
depends_on:
- linux-amd64
# - linux-arm64
- linux-arm
- linux-amd64
- linux-arm64
# - linux-arm