init docker files

This commit is contained in:
Thomas Boksberger committed 2023-03-03 15:20:27 +01:00
1 parent 9a17cf34f5
commit 2d41540111
6 files changed
+502 -25

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
job("Docker") {
host("Build and push a Docker image") {
dockerBuildPush {
// by default, the step runs not only 'docker build' but also 'docker push'
// to disable pushing, add the following line:
// push = false
// path to Docker context (by default, context is working dir)
// context = "backend"
// path to Dockerfile relative to the project root
// if 'file' is not specified, Docker will look for it in 'context'/Dockerfile
//file = "docker/config/Dockerfile"
// build-time variables
//args["HTTP_PROXY"] = "http://10.20.30.2:1234"
// image labels
//labels["vendor"] = "mycompany"
// to add a raw list of additional build arguments, use
// extraArgsForBuildCommand = listOf("...")
// to add a raw list of additional push arguments, use
// extraArgsForPushCommand = listOf("...")
// image tags
tags {
// use current job run number as a tag - '0.0.run_number'
+"boxi.registry.jetbrains.space/p/boxit/containers/boxit-apacheOIDC:0.0.${"$"}JB_SPACE_EXECUTION_NUMBER"
}
}
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.