Skip to content

Commit

Permalink
Build and tag Dangerzone images
Browse files Browse the repository at this point in the history
Build Dangerzone images and tag them with a unique ID that stems from
the Git reop. Note that using tags as image IDs instead of regular image
IDs breaks the current Dangerzone expectations, but this will be
addressed in subsequent commits.
  • Loading branch information
apyrgio committed Dec 10, 2024
1 parent 6a5e76f commit 9095603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/common/build-image.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def main():
dirty_ident = secrets.token_hex(2)
tag = (
subprocess.check_output(
["git", "describe", "--first-parent", f"--dirty=-{dirty_ident}"],
["git", "describe", "--long", "--first-parent", f"--dirty=-{dirty_ident}"],
)
.decode()
.strip()[1:] # remove the "v" prefix of the tag.
Expand Down

0 comments on commit 9095603

Please sign in to comment.