From 325d580b03083971f1aa16a8eef583c9a81ef774 Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Thu, 13 Jan 2022 14:42:54 +0100 Subject: [PATCH] updated drone with jsonnet --- .drone.yml | 225 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..7d722e0 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,225 @@ +--- +kind: pipeline +type: docker +name: maria-10.7 + +platform: + os: linux + arch: amd64 + +steps: +- name: build_and_publish_10.7 + pull: always + image: plugins/docker:linux-amd64 + settings: + build_args: + MARIA_VERSION: 10.7 + dockerfile: Dockerfile + force_tag: true + password: + from_secret: docker_password + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + tags: + - latest-10.7 + - maria-10.7 + username: + from_secret: docker_username + +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.6 + +platform: + os: linux + arch: amd64 + +steps: +- name: build_and_publish_10.6 + pull: always + image: plugins/docker:linux-amd64 + settings: + build_args: + MARIA_VERSION: 10.6 + dockerfile: Dockerfile + force_tag: true + password: + from_secret: docker_password + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + tags: + - latest-10.6 + - maria-10.6 + username: + from_secret: docker_username + +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.5 + +platform: + os: linux + arch: amd64 + +steps: +- name: build_and_publish_10.5 + pull: always + image: plugins/docker:linux-amd64 + settings: + build_args: + MARIA_VERSION: 10.5 + dockerfile: Dockerfile + force_tag: true + password: + from_secret: docker_password + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + tags: + - latest-10.5 + - maria-10.5 + username: + from_secret: docker_username + +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.4 + +platform: + os: linux + arch: amd64 + +steps: +- name: build_and_publish_10.4 + pull: always + image: plugins/docker:linux-amd64 + settings: + build_args: + MARIA_VERSION: 10.4 + dockerfile: Dockerfile + force_tag: true + password: + from_secret: docker_password + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + tags: + - latest-10.4 + - maria-10.4 + username: + from_secret: docker_username + +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.3 + +platform: + os: linux + arch: amd64 + +steps: +- name: build_and_publish_10.3 + pull: always + image: plugins/docker:linux-amd64 + settings: + build_args: + MARIA_VERSION: 10.3 + dockerfile: Dockerfile + force_tag: true + password: + from_secret: docker_password + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + tags: + - latest-10.3 + - maria-10.3 + username: + from_secret: docker_username + +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.2 + +platform: + os: linux + arch: amd64 + +steps: +- name: build_and_publish_10.2 + pull: always + image: plugins/docker:linux-amd64 + settings: + build_args: + MARIA_VERSION: 10.2 + dockerfile: Dockerfile + force_tag: true + password: + from_secret: docker_password + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + tags: + - latest-10.2 + - maria-10.2 + username: + from_secret: docker_username + +trigger: + event: + - tag + +--- +kind: pipeline +type: docker +name: maria-10.1 + +platform: + os: linux + arch: amd64 + +steps: +- name: build_and_publish_10.1 + pull: always + image: plugins/docker:linux-amd64 + settings: + build_args: + MARIA_VERSION: 10.1 + dockerfile: Dockerfile + force_tag: true + password: + from_secret: docker_password + registry: docker.asperti.com + repo: docker.asperti.com/paspo/mariadb-backup-slave + tags: + - latest-10.1 + - maria-10.1 + username: + from_secret: docker_username + +trigger: + event: + - tag + +...