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: event:
- tag - 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 kind: pipeline
type: docker type: docker
name: linux-arm name: linux-arm64
platform: platform:
arch: arm arch: arm64
os: linux os: linux
steps: steps:
- name: build_and_publish - name: build_and_publish
image: plugins/docker:linux-arm image: plugins/docker:linux-arm64
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
force_tag: true force_tag: true
@ -79,14 +49,44 @@ steps:
username: username:
from_secret: docker_username from_secret: docker_username
tags: tags:
- ${DRONE_TAG}-linux-arm - ${DRONE_TAG}-linux-arm64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64
- ${DRONE_SEMVER_MAJOR}-linux-arm - ${DRONE_SEMVER_MAJOR}-linux-arm64
trigger: trigger:
event: event:
- tag - 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 kind: pipeline
type: docker type: docker
@ -111,9 +111,9 @@ steps:
trigger: trigger:
event: event:
- tag - tag
depends_on: depends_on:
- linux-amd64 - linux-amd64
# - linux-arm64 - linux-arm64
- linux-arm # - linux-arm