This commit is contained in:
parent
9ca53ee24b
commit
3cae054784
31
.drone.yml
31
.drone.yml
@ -6,22 +6,39 @@
|
|||||||
# - master
|
# - master
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
|
restore_cache:
|
||||||
|
image: drillster/drone-volume-cache:latest
|
||||||
|
restore: true
|
||||||
|
mount:
|
||||||
|
- /drone/docker
|
||||||
|
# volumes:
|
||||||
|
# - /tmp/drone-cache:/cache
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: plugins/docker:17.12
|
image: plugins/docker:17.12
|
||||||
auto_tag: true
|
|
||||||
auto_tag_suffix: linux-amd64
|
|
||||||
repo: andrey01/mps-youtube
|
repo: andrey01/mps-youtube
|
||||||
# tags:
|
tags:
|
||||||
# - latest
|
- latest
|
||||||
# - 1
|
- ${DRONE_COMMIT_SHA}
|
||||||
# - 1.1
|
|
||||||
# group: docker
|
# group: docker
|
||||||
# dockerfile: Dockerfile
|
# dockerfile: Dockerfile
|
||||||
secrets: [ docker_username, docker_password ]
|
secrets:
|
||||||
|
- docker_username
|
||||||
|
- docker_password
|
||||||
|
storage_path: /drone/docker
|
||||||
|
use_cache: true
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
|
rebuild_cache:
|
||||||
|
image: drillster/drone-volume-cache:latest
|
||||||
|
rebuild: true
|
||||||
|
mount:
|
||||||
|
- /drone/docker
|
||||||
|
# volumes:
|
||||||
|
# - /tmp/drone-cache:/cache
|
||||||
|
|
||||||
notify:
|
notify:
|
||||||
image: drillster/drone-email:latest
|
image: drillster/drone-email:latest
|
||||||
from: Drone CI <noreply@nixaid.com>
|
from: Drone CI <noreply@nixaid.com>
|
||||||
|
Loading…
Reference in New Issue
Block a user