2021-02-25 17:46:40 -08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
2021-03-31 06:17:43 +00:00
|
|
|
arch: amd64
|
2021-02-25 17:46:40 -08:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
exclude:
|
|
|
|
- main
|
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 1
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
host:
|
|
|
|
path: /run/docker.sock
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build ${DRONE_REPO} Container Image
|
|
|
|
image: plugins/docker
|
|
|
|
volumes:
|
|
|
|
- name: dockersock
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
settings:
|
2021-02-26 13:31:22 +00:00
|
|
|
auto_tag: false
|
|
|
|
daemon_off: true
|
|
|
|
debug: false
|
2021-02-25 17:46:40 -08:00
|
|
|
dockerfile: docker/Dockerfile
|
2021-02-26 13:31:22 +00:00
|
|
|
mirror: "https://registry.dragonheim.net/"
|
|
|
|
purge: true
|
2021-02-25 17:46:40 -08:00
|
|
|
repo: ${DRONE_REPO}
|
|
|
|
# target: development
|
2021-02-26 13:31:22 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_auth
|