23 lines
401 B
YAML
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/**
|