kind: pipeline name: default steps: - name: build image: plugins/docker:linux-amd64 pull: always settings: dockerfile: Dockerfile daemon_off: false dry_run: true repo: docker.asperti.com/paspo/mariadb-backup-slave when: event: exclude: - 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: 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 - 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: event: - tag - name: build_and_publish_10_3 image: plugins/docker:linux-amd64 pull: always settings: 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_2 image: plugins/docker:linux-amd64 pull: always settings: dockerfile: Dockerfile build_args: - MARIA_VERSION=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