docker-murmur/.drone.yml

37 lines
546 B
YAML
Raw Normal View History

kind: pipeline
type: docker
2024-11-21 20:59:56 +00:00
name: build
steps:
2024-11-21 21:05:56 +00:00
- name: 'docker-build'
image: plugins/docker
settings:
dry_run: true
purge: true
2024-11-21 20:59:56 +00:00
trigger:
event:
- pull_request
- push
---
kind: pipeline
type: docker
2024-11-21 20:59:56 +00:00
name: publish
steps:
2024-11-21 21:05:56 +00:00
- 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
2024-11-21 20:59:56 +00:00
trigger:
event:
- tag