--- 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/php-fpm registry: docker.mtfos.xyz tags: - latest - "${DRONE_COMMIT}" when: ref: - refs/heads/master - refs/tags/**