docker-murmur/.drone.yml
Alexey Skobkin b9ca6517e5 Drone configuration fix (#2)
Co-authored-by: Alexey Skobkin <skobkin-ru@ya.ru>
Reviewed-on: #2
2024-11-21 21:21:14 +00:00

41 lines
610 B
YAML

kind: pipeline
type: docker
name: build
steps:
- name: 'docker-build'
image: plugins/docker
settings:
repo:
from_secret: DOCKER_REPO
dry_run: true
purge: true
trigger:
event:
- push
branch:
exclude:
- master
---
kind: pipeline
type: docker
name: publish
steps:
- name: 'docker-publish'
image: plugins/docker
settings:
username:
from_secret: DOCKER_LOGIN
password:
from_secret: DOCKER_TOKEN
repo:
from_secret: DOCKER_REPO
tags:
- ${DRONE_TAG}
- latest
trigger:
event:
- tag