multiarch
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Paolo Asperti 2022-06-11 00:19:38 +02:00
parent 9acb740486
commit 07629dfc63
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 42 additions and 13 deletions

View File

@ -7,6 +7,16 @@ platform:
os: linux
steps:
- name: build
image: plugins/docker:linux-amd64
settings:
dockerfile: Dockerfile
dry_run: true
repo: docker.asperti.com/paspo/ftps
when:
event:
- push
- name: build_and_publish
image: plugins/docker:linux-amd64
settings:
@ -22,10 +32,9 @@ steps:
- ${DRONE_TAG}-linux-amd64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-amd64
- ${DRONE_SEMVER_MAJOR}-linux-amd64
trigger:
event:
- tag
when:
event:
- tag
---
kind: pipeline
@ -37,6 +46,16 @@ platform:
os: linux
steps:
- name: build
image: plugins/docker:linux-arm64
settings:
dockerfile: Dockerfile
dry_run: true
repo: docker.asperti.com/paspo/ftps
when:
event:
- push
- name: build_and_publish
image: plugins/docker:linux-arm64
settings:
@ -52,10 +71,11 @@ steps:
- ${DRONE_TAG}-linux-arm64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64
- ${DRONE_SEMVER_MAJOR}-linux-arm64
when:
event:
- tag
trigger:
event:
- tag
# no build server available (at the moment) for this arch
# ---
# kind: pipeline
@ -67,6 +87,16 @@ trigger:
# os: linux
# steps:
# - name: build
# image: plugins/docker:linux-arm
# settings:
# dockerfile: Dockerfile
# dry_run: true
# repo: docker.asperti.com/paspo/ftps
# when:
# event:
# - push
# - name: build_and_publish
# image: plugins/docker:linux-arm
# settings:
@ -82,10 +112,9 @@ trigger:
# - ${DRONE_TAG}-linux-arm
# - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm
# - ${DRONE_SEMVER_MAJOR}-linux-arm
# trigger:
# event:
# - tag
# when:
# event:
# - tag
---
kind: pipeline
@ -96,8 +125,8 @@ steps:
- name: manifest
image: plugins/manifest
settings:
force_tag: "true"
ignore_missing: "true"
force_tag: true
ignore_missing: true
spec: manifest.tmpl
username:
from_secret: docker_username