docker-murmur/.drone.yml

41 lines
610 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:
2024-11-21 21:17:03 +00:00
repo:
from_secret: DOCKER_REPO
dry_run: true
purge: true
2024-11-21 20:59:56 +00:00
trigger:
event:
2024-11-21 21:14:25 +00:00
- push
2024-11-21 21:13:34 +00:00
branch:
exclude:
- master
---
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