From 453130871b3edbafee72e35859c190a90e238553 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Thu, 13 Jan 2022 09:17:56 +0100 Subject: [PATCH] some mariadb upgrades --- .drone.yml | 179 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 126 insertions(+), 53 deletions(-) diff --git a/.drone.yml b/.drone.yml index 37ed593..6717c78 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,20 +1,68 @@ kind: pipeline -name: default +type: docker +name: maria-10.7 steps: - - name: build + - name: build_and_publish_10_7 image: plugins/docker:linux-amd64 pull: always settings: dockerfile: Dockerfile - daemon_off: false - dry_run: true + build_args: + - MARIA_VERSION=10.7 + registry: docker.asperti.com repo: docker.asperti.com/paspo/mariadb-backup-slave - when: - event: - exclude: - - tag + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest-10.7 + - maria-10.7 + auto_tag: false + force_tag: true + daemon_off: false +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.6 + +steps: + - name: build_and_publish_10_6 + image: plugins/docker:linux-amd64 + pull: always + settings: + dockerfile: Dockerfile + build_args: + - MARIA_VERSION=10.6 + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest-10.6 + - maria-10.6 + auto_tag: false + force_tag: true + daemon_off: false + +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.5 + +steps: - name: build_and_publish_10_5 image: plugins/docker:linux-amd64 pull: always @@ -22,22 +70,29 @@ steps: dockerfile: Dockerfile build_args: - MARIA_VERSION=10.5 + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest-10.5 + - maria-10.5 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: - - latest - - maria-10.5 - username: - from_secret: docker_username - when: - event: - - tag +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.4 + +steps: - name: build_and_publish_10_4 image: plugins/docker:linux-amd64 pull: always @@ -45,21 +100,29 @@ steps: dockerfile: Dockerfile build_args: - MARIA_VERSION=10.4 + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest-10.4 + - maria-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: - event: - - tag +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.3 + +steps: - name: build_and_publish_10_3 image: plugins/docker:linux-amd64 pull: always @@ -67,21 +130,29 @@ steps: dockerfile: Dockerfile build_args: - MARIA_VERSION=10.3 + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest-10.3 + - maria-10.3 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.3 - username: - from_secret: docker_username - when: - event: - - tag +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.2 + +steps: - name: build_and_publish_10_2 image: plugins/docker:linux-amd64 pull: always @@ -89,17 +160,19 @@ steps: dockerfile: Dockerfile build_args: - MARIA_VERSION=10.2 + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + username: + from_secret: docker_username + password: + from_secret: docker_password + tags: + - latest-10.2 + - maria-10.2 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.2 - username: - from_secret: docker_username - when: - event: - - tag + +trigger: + event: + - tag \ No newline at end of file