From a2957e48b49272cf180247ac4bf418715d23406e Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Tue, 1 Mar 2022 19:06:01 +0100 Subject: [PATCH] fix building --- .drone.yml | 225 ----------------------------------------------------- Dockerfile | 2 +- 2 files changed, 1 insertion(+), 226 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 7d722e0..0000000 --- a/.drone.yml +++ /dev/null @@ -1,225 +0,0 @@ ---- -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 - -... diff --git a/Dockerfile b/Dockerfile index 1d6a8f5..fda5a00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG MARIA_VERSION=10.4 +ARG MARIA_VERSION FROM mariadb:${MARIA_VERSION} RUN apt-get update && \