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

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

View File

@ -7,6 +7,16 @@ platform:
os: linux os: linux
steps: 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 - name: build_and_publish
image: plugins/docker:linux-amd64 image: plugins/docker:linux-amd64
settings: settings:
@ -22,8 +32,7 @@ steps:
- ${DRONE_TAG}-linux-amd64 - ${DRONE_TAG}-linux-amd64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-amd64 - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-amd64
- ${DRONE_SEMVER_MAJOR}-linux-amd64 - ${DRONE_SEMVER_MAJOR}-linux-amd64
when:
trigger:
event: event:
- tag - tag
@ -37,6 +46,16 @@ platform:
os: linux os: linux
steps: 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 - name: build_and_publish
image: plugins/docker:linux-arm64 image: plugins/docker:linux-arm64
settings: settings:
@ -52,11 +71,12 @@ steps:
- ${DRONE_TAG}-linux-arm64 - ${DRONE_TAG}-linux-arm64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64 - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64
- ${DRONE_SEMVER_MAJOR}-linux-arm64 - ${DRONE_SEMVER_MAJOR}-linux-arm64
when:
trigger:
event: event:
- tag - tag
# no build server available (at the moment) for this arch
# --- # ---
# kind: pipeline # kind: pipeline
# type: docker # type: docker
@ -67,6 +87,16 @@ trigger:
# os: linux # os: linux
# steps: # 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 # - name: build_and_publish
# image: plugins/docker:linux-arm # image: plugins/docker:linux-arm
# settings: # settings:
@ -82,8 +112,7 @@ trigger:
# - ${DRONE_TAG}-linux-arm # - ${DRONE_TAG}-linux-arm
# - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm # - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm
# - ${DRONE_SEMVER_MAJOR}-linux-arm # - ${DRONE_SEMVER_MAJOR}-linux-arm
# when:
# trigger:
# event: # event:
# - tag # - tag
@ -96,8 +125,8 @@ steps:
- name: manifest - name: manifest
image: plugins/manifest image: plugins/manifest
settings: settings:
force_tag: "true" force_tag: true
ignore_missing: "true" ignore_missing: true
spec: manifest.tmpl spec: manifest.tmpl
username: username:
from_secret: docker_username from_secret: docker_username