Paolo Asperti
9acb740486
All checks were successful
continuous-integration/drone/tag Build is passing
120 lines
2.3 KiB
YAML
120 lines
2.3 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: linux-amd64
|
|
|
|
platform:
|
|
arch: amd64
|
|
os: linux
|
|
|
|
steps:
|
|
- name: build_and_publish
|
|
image: plugins/docker:linux-amd64
|
|
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-amd64
|
|
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-amd64
|
|
- ${DRONE_SEMVER_MAJOR}-linux-amd64
|
|
|
|
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
|
|
|
|
# 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
|
|
name: manifest
|
|
|
|
steps:
|
|
- name: manifest
|
|
image: plugins/manifest
|
|
settings:
|
|
force_tag: "true"
|
|
ignore_missing: "true"
|
|
spec: manifest.tmpl
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
tags:
|
|
- latest
|
|
- ${DRONE_TAG}
|
|
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
|
|
- ${DRONE_SEMVER_MAJOR}
|
|
|
|
trigger:
|
|
event:
|
|
- tag
|
|
|
|
depends_on:
|
|
- linux-amd64
|
|
- linux-arm64
|
|
# - linux-arm
|