26 lines
447 B
YAML
26 lines
447 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
network_mode: bridge
|
|
settings:
|
|
repo: sneak/ubuntumirror
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
tags:
|
|
- ${DRONE_BRANCH//\//-}-${DRONE_COMMIT_SHA:0:8}
|
|
- ${DRONE_COMMIT_SHA}
|
|
- ${DRONE_BRANCH/\//-}
|
|
- latest
|
|
|
|
# rebuild weekly and push
|
|
trigger:
|
|
event:
|
|
- cron
|
|
cron:
|
|
- weekly
|