docker-ubuntumirror/.drone.yml

25 lines
416 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_COMMIT_SHA}
- ${DRONE_BRANCH/\//-}
- ${DRONE_BRANCH/master/latest}
# rebuild weekly and push
trigger:
event:
- cron
cron:
- weekly