ci: make docker:dind stable-dind
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-08-13 10:40:33 +01:00
parent a53a18a7ca
commit 5ff59905e0
6 changed files with 6 additions and 5 deletions

1
build.sh Normal file
View File

@ -0,0 +1 @@
docker build drone-starlark -t ${LOCAL_DOCKER_REGISTRY}drone-starlark

View File

@ -10,7 +10,7 @@ def buildDockerFolder(
"name": "build-{name}".format( "name": "build-{name}".format(
name = name, name = name,
), ),
"image": "docker:dind", "image": "docker:stable-dind",
"volumes": [ "volumes": [
{ {
"name": "dockersock", "name": "dockersock",

View File

@ -5,7 +5,7 @@ def buildFolder(name, folder):
folder=folder, folder=folder,
name=name, name=name,
), ),
"image": "docker:dind", "image": "docker:stable-dind",
"volumes": [ "volumes": [
{ {
"name": "dockersock", "name": "dockersock",

View File

@ -3,7 +3,7 @@ load("@this//:environment.star", "environment")
def build(name): def build(name):
return { return {
"name": "build-{name}".format(name=name), "name": "build-{name}".format(name=name),
"image": "docker:dind", "image": "docker:stable-dind",
"volumes": [ "volumes": [
{ {
"name": "dockersock", "name": "dockersock",

View File

@ -13,7 +13,7 @@ def pipeline(
"services": [ "services": [
{ {
"name": "docker", "name": "docker",
"image": "docker:dind", "image": "docker:stable-dind",
"privileged": True, "privileged": True,
"volumes": [ "volumes": [
{ {

View File

@ -1,7 +1,7 @@
def wait(delay, name): def wait(delay, name):
return { return {
"name": name, "name": name,
"image": "alpine", "image": "alpine:3.12.0",
"commands": [ "commands": [
"sleep {delay}".format(delay = delay), "sleep {delay}".format(delay = delay),
], ],