php-fpm/.drone.yml

26 lines
487 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
username: robot$mtfos-ci
password:
from_secret: docker_token
repo: reg.mtfos.xyz/service/php-fpm
registry: reg.mtfos.xyz
tags:
- latest
- "${DRONE_COMMIT}"
when:
ref:
- refs/heads/master
- refs/tags/**