updated drone
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Paolo Asperti 2021-03-19 14:15:15 +01:00
parent c76c4c4469
commit 1ea25ff238
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 31 additions and 32 deletions

View File

@ -14,14 +14,14 @@ steps:
event:
exclude:
- tag
- name: build_and_publish_10_2
- name: build_and_publish_10_5
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
build_args:
- MARIA_VERSION=10.2
- MARIA_VERSION=10.5
auto_tag: false
force_tag: true
daemon_off: false
@ -30,7 +30,30 @@ steps:
registry: docker.asperti.com
repo: docker.asperti.com/paspo/mariadb-backup-slave
tags:
- maria-10.2
- latest
- maria-10.5
username:
from_secret: docker_username
when:
event:
- tag
- name: build_and_publish_10_4
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
build_args:
- MARIA_VERSION=10.4
auto_tag: false
force_tag: true
daemon_off: false
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/mariadb-backup-slave
tags:
- maria-10.4
username:
from_secret: docker_username
when:
@ -59,14 +82,14 @@ steps:
event:
- tag
- name: build_and_publish_10_4
- name: build_and_publish_10_2
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
build_args:
- MARIA_VERSION=10.4
auto_tag: true
- MARIA_VERSION=10.2
auto_tag: false
force_tag: true
daemon_off: false
password:
@ -74,31 +97,7 @@ steps:
registry: docker.asperti.com
repo: docker.asperti.com/paspo/mariadb-backup-slave
tags:
- latest
- maria-10.4
username:
from_secret: docker_username
when:
event:
- tag
- name: build_and_publish_10_5
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
build_args:
- MARIA_VERSION=10.5
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:
- latest
- maria-10.5
- maria-10.2
username:
from_secret: docker_username
when: