mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-28 01:10:49 +01:00
Write current docker tag to file
This commit is contained in:
@@ -73,6 +73,10 @@ task context(type: Copy) {
|
||||
task dockerImage(type: DockerBuildImage) {
|
||||
inputDir = file('build/docker')
|
||||
images = images()
|
||||
doLast {
|
||||
File file = new File(project.buildDir, 'docker.tag')
|
||||
file.text = dockerTag
|
||||
}
|
||||
dependsOn 'context'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user