docker-mariadb-backup-slave/.drone.yml

84 lines
1.8 KiB
YAML
Raw Normal View History

2019-11-23 18:00:26 +00:00
kind: pipeline
name: default
steps:
- name: build
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
daemon_off: false
dry_run: true
repo: docker.asperti.com/paspo/mariadb-backup-slave
when:
event:
exclude:
- tag
2019-11-25 13:30:06 +00:00
- name: build_and_publish_10_1
2019-11-23 18:00:26 +00:00
image: plugins/docker:linux-amd64
pull: always
2019-11-25 13:28:34 +00:00
settings:
dockerfile: Dockerfile
2019-11-25 14:19:38 +00:00
build_args:
MARIA_VERSION: 10.1
2019-11-25 14:06:09 +00:00
auto_tag: false
2019-11-25 13:28:34 +00:00
force_tag: true
daemon_off: false
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/mariadb-backup-slave
tags:
2019-11-25 13:54:52 +00:00
- maria-10.1
2019-11-25 13:28:34 +00:00
username:
from_secret: docker_username
when:
event:
- tag
2019-11-25 13:30:06 +00:00
- name: build_and_publish_10_2
2019-11-25 13:28:34 +00:00
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
2019-11-25 14:19:38 +00:00
build_args:
MARIA_VERSION: 10.2
2019-11-25 14:06:09 +00:00
auto_tag: false
2019-11-25 13:28:34 +00:00
force_tag: true
daemon_off: false
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/mariadb-backup-slave
tags:
2019-11-25 13:54:52 +00:00
- maria-10.2
2019-11-25 13:28:34 +00:00
username:
from_secret: docker_username
when:
event:
- tag
2019-11-25 13:30:06 +00:00
- name: build_and_publish_10_3
2019-11-25 13:28:34 +00:00
image: plugins/docker:linux-amd64
pull: always
2019-11-23 18:00:26 +00:00
settings:
dockerfile: Dockerfile
2019-11-25 14:19:38 +00:00
build_args:
MARIA_VERSION: 10.3
2019-11-23 18:00:26 +00:00
auto_tag: true
force_tag: true
daemon_off: false
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/mariadb-backup-slave
tags:
2019-11-24 17:16:39 +00:00
- latest
2019-11-25 13:54:52 +00:00
- maria-10.3
2019-11-23 18:00:26 +00:00
username:
from_secret: docker_username
when:
event:
- tag