From 1ea25ff23831439601f08327b09e5bd4c218ea9d Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Fri, 19 Mar 2021 14:15:15 +0100 Subject: [PATCH] updated drone --- .drone.yml | 63 +++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4816108..37ed593 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: