This commit is contained in:
parent
6de34470ea
commit
e7a873e550
31
.drone.yml
31
.drone.yml
@ -3,20 +3,20 @@ name: default
|
|||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: server
|
# - name: server
|
||||||
image: plugins/docker
|
# image: plugins/docker
|
||||||
environment:
|
# environment:
|
||||||
DOCKER_BUILDKIT: 1
|
# DOCKER_BUILDKIT: 1
|
||||||
settings:
|
# settings:
|
||||||
username: kasperhermansen
|
# username: kasperhermansen
|
||||||
password:
|
# password:
|
||||||
from_secret:
|
# from_secret:
|
||||||
docker_secret
|
# docker_secret
|
||||||
repo: kasperhermansen/cuddle
|
# repo: kasperhermansen/cuddle
|
||||||
tags: latest
|
# tags: latest
|
||||||
context: .
|
# context: .
|
||||||
dockerfile: templates/build_cuddle_image.Dockerfile
|
# dockerfile: templates/build_cuddle_image.Dockerfile
|
||||||
cache_from: kasperhermansen/cuddle:latest
|
# cache_from: kasperhermansen/cuddle:latest
|
||||||
|
|
||||||
- name: load_secret
|
- name: load_secret
|
||||||
image: debian:buster-slim
|
image: debian:buster-slim
|
||||||
@ -62,6 +62,7 @@ steps:
|
|||||||
path: /var/run
|
path: /var/run
|
||||||
commands:
|
commands:
|
||||||
- sleep 5
|
- sleep 5
|
||||||
|
- export PATH="$PATH:/usr/local/cargo/bin/"
|
||||||
- cuddle x build_cuddle_image
|
- cuddle x build_cuddle_image
|
||||||
environment:
|
environment:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
@ -71,7 +72,7 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
depends_on:
|
depends_on:
|
||||||
- "load_secret"
|
- "load_secret"
|
||||||
- "server"
|
# - "server"
|
||||||
|
|
||||||
- name: send telegram notification
|
- name: send telegram notification
|
||||||
image: appleboy/drone-telegram
|
image: appleboy/drone-telegram
|
||||||
|
Loading…
Reference in New Issue
Block a user