Skip to content

Commit

Permalink
The latest image on specific server should also be re tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Feb 15, 2022
1 parent 9aedcb2 commit 2090179
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions c2cciutils/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,11 @@ def docker(
],
check=True,
)
if latest:
subprocess.run(
["docker", "tag", f"{image_config['name']}:{tag_src}", f"{config['server']}/{image_config['name']}:{tag_src}"],
check=True,
)
subprocess.run(
[
"docker",
Expand Down

0 comments on commit 2090179

Please sign in to comment.