with new type of image
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
fb09608bbb
commit
fb91939399
39
.drone.yml
39
.drone.yml
@ -3,21 +3,6 @@ name: default
|
|||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
steps:
|
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: load_secret
|
- name: load_secret
|
||||||
image: debian:buster-slim
|
image: debian:buster-slim
|
||||||
volumes:
|
volumes:
|
||||||
@ -32,29 +17,8 @@ steps:
|
|||||||
- ls $HOME/.ssh/
|
- ls $HOME/.ssh/
|
||||||
- cat $HOME/.ssh/id_ed25519
|
- cat $HOME/.ssh/id_ed25519
|
||||||
|
|
||||||
# - name: build
|
|
||||||
# image: quay.io/testcontainers/dind-drone-plugin
|
|
||||||
# settings:
|
|
||||||
# build_image: kasperhermansen/cuddle:latest
|
|
||||||
# cmd: sleep 3 && cuddle_cli x build_cuddle_image
|
|
||||||
# volumes:
|
|
||||||
# - name: ssh
|
|
||||||
# path: /root/.ssh/
|
|
||||||
# - name: dockersock
|
|
||||||
# path: /var/run
|
|
||||||
# environment:
|
|
||||||
# CI_WORKSPACE: "/drone/src"
|
|
||||||
# DOCKER_BUILDKIT: 1
|
|
||||||
# DOCKER_USERNAME:
|
|
||||||
# from_secret: docker_username
|
|
||||||
# DOCKER_PASSWORD:
|
|
||||||
# from_secret: docker_password
|
|
||||||
# depends_on:
|
|
||||||
# - "load_secret"
|
|
||||||
# - "server"
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: kasperhermansen/cuddle:latest
|
image: kasperhermansen/cuddle-image:latest
|
||||||
volumes:
|
volumes:
|
||||||
- name: ssh
|
- name: ssh
|
||||||
path: /root/.ssh/
|
path: /root/.ssh/
|
||||||
@ -71,7 +35,6 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
depends_on:
|
depends_on:
|
||||||
- "load_secret"
|
- "load_secret"
|
||||||
#- "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