docker-ftps/.drone.yml

167 lines
3.5 KiB
YAML
Raw Permalink Normal View History

2019-05-18 12:14:08 +00:00
kind: pipeline
2021-11-03 08:25:42 +00:00
type: docker
2022-06-10 21:43:16 +00:00
name: linux-amd64
platform:
arch: amd64
os: linux
2019-05-18 12:14:08 +00:00
steps:
2022-06-10 22:19:38 +00:00
- name: build
image: plugins/docker:linux-amd64
settings:
dockerfile: Dockerfile
dry_run: true
repo: docker.asperti.com/paspo/ftps
when:
event:
- push
2019-05-18 12:14:08 +00:00
- name: build_and_publish
image: plugins/docker:linux-amd64
settings:
2022-06-10 21:43:16 +00:00
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
2022-06-10 22:19:38 +00:00
when:
event:
- tag
2022-06-10 21:43:16 +00:00
2022-09-27 13:25:46 +00:00
- name: build_and_publish2
image: plugins/docker:linux-amd64
settings:
dockerfile: Dockerfile
force_tag: true
password:
2024-01-23 16:15:08 +00:00
from_secret: gitea_docker_password
2022-09-27 13:25:46 +00:00
registry: git.asperti.com
repo: git.asperti.com/paspo/docker-ftps
username:
2024-01-23 16:15:08 +00:00
from_secret: gitea_docker_username
2022-09-27 13:25:46 +00:00
tags:
- ${DRONE_TAG}-linux-amd64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-amd64
- ${DRONE_SEMVER_MAJOR}-linux-amd64
when:
event:
- tag
2022-06-10 21:43:16 +00:00
---
kind: pipeline
type: docker
2022-06-10 21:54:52 +00:00
name: linux-arm64
2022-06-10 21:43:16 +00:00
platform:
2022-06-10 21:54:52 +00:00
arch: arm64
2022-06-10 21:43:16 +00:00
os: linux
steps:
2022-06-10 22:19:38 +00:00
- name: build
image: plugins/docker:linux-arm64
settings:
dockerfile: Dockerfile
dry_run: true
repo: docker.asperti.com/paspo/ftps
when:
event:
- push
2022-06-10 21:43:16 +00:00
- name: build_and_publish
2022-06-10 21:54:52 +00:00
image: plugins/docker:linux-arm64
2022-06-10 21:43:16 +00:00
settings:
dockerfile: Dockerfile
2020-08-12 13:14:16 +00:00
force_tag: true
2019-05-18 12:14:08 +00:00
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/ftps
username:
2021-11-03 08:25:42 +00:00
from_secret: docker_username
tags:
2022-06-10 21:54:52 +00:00
- ${DRONE_TAG}-linux-arm64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64
- ${DRONE_SEMVER_MAJOR}-linux-arm64
2022-06-10 22:19:38 +00:00
when:
event:
- tag
2021-11-03 08:25:42 +00:00
2022-09-27 13:25:46 +00:00
- name: build_and_publish2
image: plugins/docker:linux-arm64
settings:
dockerfile: Dockerfile
force_tag: true
password:
2024-01-23 16:15:08 +00:00
from_secret: gitea_docker_password
2022-09-27 13:25:46 +00:00
registry: git.asperti.com
repo: git.asperti.com/paspo/docker-ftps
username:
2024-01-23 16:15:08 +00:00
from_secret: gitea_docker_username
2022-09-27 13:25:46 +00:00
tags:
- ${DRONE_TAG}-linux-arm64
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}-linux-arm64
- ${DRONE_SEMVER_MAJOR}-linux-arm64
when:
event:
- tag
2022-06-10 21:43:16 +00:00
---
kind: pipeline
type: docker
name: manifest
steps:
2022-09-27 13:25:46 +00:00
- 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}
when:
event:
- tag
- name: manifest2
image: plugins/manifest
settings:
force_tag: true
ignore_missing: true
spec: manifest2.tmpl
username:
2024-01-23 16:15:08 +00:00
from_secret: gitea_docker_username
2022-09-27 13:25:46 +00:00
password:
2024-01-23 16:15:08 +00:00
from_secret: gitea_docker_password
2022-09-27 13:25:46 +00:00
tags:
- latest
- ${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
- ${DRONE_SEMVER_MAJOR}
when:
event:
- tag
2022-06-10 21:43:16 +00:00
trigger:
event:
2022-06-10 21:54:52 +00:00
- tag
2022-06-10 21:43:16 +00:00
depends_on:
2022-06-10 21:54:52 +00:00
- linux-amd64
- linux-arm64