ci: docker push: re-add timestamp image tag (#8529)

This commit is contained in:
Marc 'risson' Schmitt
2024-02-15 17:49:28 +01:00
committed by GitHub
parent babaeb2d0c
commit 89ef82337d

View File

@ -78,8 +78,9 @@ runs:
suffix = f"-{image_arch}" suffix = f"-{image_arch}"
for name in image_names: for name in image_names:
image_tags += [ image_tags += [
f"{name}:gh-{sha}{suffix}", f"{name}:gh-{sha}{suffix}", # Used for ArgoCD and PR comments
f"{name}:gh-{safe_branch_name}{suffix}", f"{name}:gh-{safe_branch_name}{suffix}", # For convenience
f"{name}:gh-{safe_branch_name}-{int(time())}-{sha[:7]}{suffix}", # Use by FluxCD
] ]
image_main_tag = image_tags[0] image_main_tag = image_tags[0]