30 lines
544 B
JSON
30 lines
544 B
JSON
{
|
|
"builders": [{
|
|
"type": "docker",
|
|
"image": "busybox",
|
|
"run_command": ["-d", "-i", "-t", "{{.Image}}", "/bin/sh"],
|
|
"commit": true
|
|
}],
|
|
"provisioners": [
|
|
{
|
|
"inline": ["mkdir /custom"],
|
|
"type": "shell"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"source": "../custom/",
|
|
"destination": "/custom"
|
|
}
|
|
],
|
|
"post-processors": [
|
|
[
|
|
{
|
|
"type": "docker-tag",
|
|
"repository": "eu.gcr.io/fluted-magpie-218106/gitea_custom",
|
|
"tag": "0.1.2"
|
|
},
|
|
"docker-push"
|
|
]
|
|
]
|
|
}
|