This commit is contained in:
parent
ee505d3b6a
commit
335515322a
30
.drone.yml
30
.drone.yml
@ -3,20 +3,20 @@ name: default
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
# - name: server
|
||||
# image: plugins/docker
|
||||
# environment:
|
||||
# DOCKER_BUILDKIT: 1
|
||||
# settings:
|
||||
# username: kasperhermansen
|
||||
# password:
|
||||
# from_secret:
|
||||
# docker_secret
|
||||
# repo: kasperhermansen/cuddle
|
||||
# tags: latest
|
||||
# context: .
|
||||
# dockerfile: templates/build_cuddle_image.Dockerfile
|
||||
# cache_from: kasperhermansen/cuddle:latest
|
||||
- name: server
|
||||
image: plugins/docker
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
settings:
|
||||
username: kasperhermansen
|
||||
password:
|
||||
from_secret:
|
||||
docker_secret
|
||||
repo: kasperhermansen/cuddle
|
||||
tags: latest
|
||||
context: .
|
||||
dockerfile: templates/build_cuddle_image.Dockerfile
|
||||
cache_from: kasperhermansen/cuddle:latest
|
||||
|
||||
- name: load_secret
|
||||
image: debian:buster-slim
|
||||
@ -73,7 +73,7 @@ steps:
|
||||
from_secret: docker_password
|
||||
depends_on:
|
||||
- "load_secret"
|
||||
# - "server"
|
||||
- "server"
|
||||
|
||||
- name: send telegram notification
|
||||
image: appleboy/drone-telegram
|
||||
|
@ -14,4 +14,4 @@ RUN export PATH="$PATH:/usr/local/cargo/bin/"
|
||||
FROM docker:stable-dind
|
||||
|
||||
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