This commit is contained in:
parent
cf60c5bcdd
commit
c17986182b
14
.drone.yml
14
.drone.yml
@ -2,20 +2,6 @@ type: docker
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: "shuttle-drone-templates"
|
name: "shuttle-drone-templates"
|
||||||
steps:
|
steps:
|
||||||
- name: "wait for dind"
|
|
||||||
image: docker:dind
|
|
||||||
environment:
|
|
||||||
DOCKER_BUILDKIT: 1
|
|
||||||
DOCKER_PASSWORD:
|
|
||||||
from_secret: docker_password
|
|
||||||
DOCKER_USERNAME:
|
|
||||||
from_secret: docker_username
|
|
||||||
DOCKER_HOST: "tcp://192.168.1.155:2376"
|
|
||||||
commands:
|
|
||||||
- ls /var/run
|
|
||||||
- set -eu
|
|
||||||
- sleep 10
|
|
||||||
- echo "$${DOCKER_PASSWORD}" | docker login --password-stdin --username="$${DOCKER_USERNAME}"
|
|
||||||
- name: "build"
|
- name: "build"
|
||||||
image: docker.io/kasperhermansen/shuttle-drone:1690570181415
|
image: docker.io/kasperhermansen/shuttle-drone:1690570181415
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user