.
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Giles Bradshaw 2020-04-27 17:06:03 +01:00
parent 308fceb5a7
commit 3b7629b849
2 changed files with 7 additions and 5 deletions

View File

@ -4,10 +4,11 @@ def buildDockerFolder(
image, image,
tag, tag,
folder, folder,
name,
): ):
return { return {
"name": "build-{tag}".format( "name": "build-{name}".format(
tag = tag, name = name,
), ),
"image": "docker:dind", "image": "docker:dind",
"volumes": [ "volumes": [
@ -21,7 +22,7 @@ def buildDockerFolder(
]), ]),
"commands": [ "commands": [
"cd {folder}".format(folder=folder), "cd {folder}".format(folder=folder),
"sh build-docker-folder.sh {dockerFile} $${{LOCAL_DOCKER_REGISTRY}}{image} $${{LOCAL_DOCKER_REGISTRY}}{tag}".format( "sh build-docker-folder.sh {dockerFile} {image} {tag}".format(
image = image, image = image,
dockerFile = dockerFile, dockerFile = dockerFile,
tag = tag, tag = tag,

View File

@ -4,10 +4,11 @@ def buildDockerFolder(
image, image,
tag, tag,
folder, folder,
name,
): ):
return { return {
"name": "build-{tag}".format( "name": "build-{name}".format(
tag = tag, name = name,
), ),
"image": "docker:dind", "image": "docker:dind",
"volumes": [ "volumes": [