nginx/.drone.yml
2020-07-03 14:55:21 +08:00

23 lines
401 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build docker image
image: plugins/docker
environment:
DOCKER_BUILDKIT="1"
settings:
purge: true
autotag: true
repo: docker.mtfos.xyz/nginx
registry: docker.mtfos.xyz
tags:
- latest
- "${DRONE_COMMIT}"
when:
ref:
- refs/heads/master
- refs/tags/**