docker-murmur/ .drone.yml
2024-11-22 00:01:45 +03:00

37 lines
546 B
YAML

kind: pipeline
type: docker
name: build
steps:
- name: 'docker_build'
image: plugins/docker
settings:
dry_run: true
purge: true
trigger:
event:
- pull_request
- push
---
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