This commit is contained in:
parent
ee505d3b6a
commit
335515322a
30
.drone.yml
30
.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
|
||||||
@ -73,7 +73,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
|
||||||
|
@ -14,4 +14,4 @@ RUN export PATH="$PATH:/usr/local/cargo/bin/"
|
|||||||
FROM docker:stable-dind
|
FROM docker:stable-dind
|
||||||
|
|
||||||
COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/
|
COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/
|
||||||
RUN export PATH="$PATH:/usr/local/cargo/bin/"
|
ENV PATH="${PATH}:/usr/local/cargo/bin"
|
||||||
|
Loading…
Reference in New Issue
Block a user