added mariadb 10.4
This commit is contained in:
parent
c70c7597be
commit
e064feafff
24
.drone.yml
24
.drone.yml
@ -66,6 +66,28 @@ steps:
|
||||
dockerfile: Dockerfile
|
||||
build_args:
|
||||
- MARIA_VERSION=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
|
||||
|
||||
- name: build_and_publish_10_4
|
||||
image: plugins/docker:linux-amd64
|
||||
pull: always
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
build_args:
|
||||
- MARIA_VERSION=10.4
|
||||
auto_tag: true
|
||||
force_tag: true
|
||||
daemon_off: false
|
||||
@ -75,7 +97,7 @@ steps:
|
||||
repo: docker.asperti.com/paspo/mariadb-backup-slave
|
||||
tags:
|
||||
- latest
|
||||
- maria-10.3
|
||||
- maria-10.4
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG MARIA_VERSION=10.3
|
||||
ARG MARIA_VERSION=10.4
|
||||
FROM mariadb:${MARIA_VERSION}
|
||||
|
||||
RUN apt-get update && \
|
||||
|
@ -219,8 +219,8 @@ docker-compose up -d
|
||||
```
|
||||
|
||||
## How to use different mariadb version
|
||||
The default is mariadb 10.3.
|
||||
If you want, you can use mariadb 10.2 or 10.1 by changing this line in **docker-compose.yaml**:
|
||||
The default is mariadb 10.4.
|
||||
If you want, you can use mariadb 10.3, 10.2 or 10.1 by changing this line in **docker-compose.yaml**:
|
||||
```
|
||||
image: docker.asperti.com/paspo/mariadb-backup-slave:maria-10.1
|
||||
```
|
Loading…
Reference in New Issue
Block a user