Check for existing tag in remote repo before building. #764

Merged
telackey merged 14 commits from telackey/remotetag into main 2024-02-24 03:22:51 +00:00
Showing only changes of commit 8efe753ca4 - Show all commits

View File

@ -118,8 +118,7 @@ def process_app_deployment_request(
# simply add our unique tag to the existing image and we are done
add_tags_to_image(image_registry, app_image_shared_tag, deployment_container_unique_tag)
else:
# TODO: pull from request
extra_build_args = []
extra_build_args = [] # TODO: pull from request
build_container_image(app, deployment_container_unique_tag, extra_build_args, log_file)
push_container_image(deployment_dir, log_file)
# The build/push commands above will use the unique deployment tag, so now we need to add the shared tag.