|
|
@ -28,11 +28,13 @@ def step_for(ctx, sub_image):
|
|
|
|
"name": "build %s" % sub_image,
|
|
|
|
"name": "build %s" % sub_image,
|
|
|
|
"image": "plugins/docker",
|
|
|
|
"image": "plugins/docker",
|
|
|
|
"settings": {
|
|
|
|
"settings": {
|
|
|
|
"auto_tag": True,
|
|
|
|
|
|
|
|
"purge": False,
|
|
|
|
"purge": False,
|
|
|
|
"build_args": [
|
|
|
|
"build_args": [
|
|
|
|
"DRONE_COMMIT=%s" % ctx.build.commit,
|
|
|
|
"DRONE_COMMIT=%s" % ctx.build.commit,
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
"tags: [
|
|
|
|
|
|
|
|
ctx.build.commit,
|
|
|
|
|
|
|
|
],
|
|
|
|
"username": { "from_secret": "docker_username" },
|
|
|
|
"username": { "from_secret": "docker_username" },
|
|
|
|
"password": { "from_secret": "docker_password" },
|
|
|
|
"password": { "from_secret": "docker_password" },
|
|
|
|
"repo": "mikegerber/my_ocrd_workflow-%s" % sub_image,
|
|
|
|
"repo": "mikegerber/my_ocrd_workflow-%s" % sub_image,
|
|
|
|