docker-ubuntumirror/.drone.yml

25 lines
416 B
YAML
Raw Normal View History

2020-02-08 05:01:23 +00:00
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
2020-02-15 18:33:53 +00:00
network_mode: bridge
2020-02-08 05:01:23 +00:00
settings:
repo: sneak/ubuntumirror
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- ${DRONE_COMMIT_SHA}
2020-02-15 17:39:38 +00:00
- ${DRONE_BRANCH/\//-}
2020-02-15 18:59:00 +00:00
- ${DRONE_BRANCH/master/latest}
2020-02-08 05:01:23 +00:00
2020-02-15 19:02:56 +00:00
# rebuild weekly and push
trigger:
event:
- cron
cron:
- weekly