Skip to content

Commit

Permalink
Add logic to build the COmanage Registry cron container
Browse files Browse the repository at this point in the history
Add logic to build the COmanage Registry cron container.
  • Loading branch information
skoranda committed Aug 17, 2020
1 parent 6a020f8 commit 17886f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ pipeline {
"-f ./$image_dir/Dockerfile ./$image_dir"
def tap_image = docker.build("$image_to_build", "$build_arg")
tap_image.push("$tag")

image_to_build = "$maintainer/$imagename-cron"
image_dir = 'comanage-registry-cron'
build_arg = '--no-cache ' +
"--build-arg COMANAGE_REGISTRY_VERSION=$version " +
"--build-arg COMANAGE_REGISTRY_BASE_IMAGE_VERSION=1 " +
"-f ./$image_dir/Dockerfile ./$image_dir"
def tap_image_cron = docker.build("$image_to_build", "$build_arg")
tap_image_cron.push("$tag")
}
}
}
Expand Down

0 comments on commit 17886f2

Please sign in to comment.