diff options
| author | Tranch <tranch.xiao@gmail.com> | 2026-07-28 14:29:52 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-28 14:29:52 +0800 |
| commit | fb5d1ee59954d985016f3965184c1f9fa82cdb90 (patch) | |
| tree | 740178183bf8648055ec79706896f123027273ab /Justfile | |
| parent | e054dddb55caa7abc66c631044c8c6052ea8ba5b (diff) | |
| parent | b91d3103578f0e812f1ab05ae9beb2e889cac8f1 (diff) | |
| download | AeroCore-OS-fb5d1ee59954d985016f3965184c1f9fa82cdb90.tar.gz AeroCore-OS-fb5d1ee59954d985016f3965184c1f9fa82cdb90.zip | |
Merge pull request #13 from AeroCore-IO/testing
Sync branding updates and improve GRUB menu behavior
Diffstat (limited to 'Justfile')
| -rw-r--r-- | Justfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -110,8 +110,8 @@ sudoif command *args: # $target_image - The tag you want to apply to the image (default: $image_name). # $tag - The tag for the image (default: $default_tag). # -# The script constructs the version string using the tag and the current date. -# If the git working directory is clean, it also includes the short SHA of the current HEAD. +# If the git working directory is clean, it appends the short SHA of the current HEAD +# to the version tag supplied by the build environment. # # just build $target_image $tag # @@ -141,7 +141,7 @@ build $target_image=image_name $tag=default_tag: LABELS+=("--label" "org.opencontainers.image.documentation=https://raw.githubusercontent.com/{{ repo_organization }}/{{ image_name }}/${GIT_SHA}/README.md") LABELS+=("--label" "org.opencontainers.image.source=https://github.com/{{ repo_organization }}/{{ image_name }}/blob/${GIT_SHA}/Containerfile") LABELS+=("--label" "org.opencontainers.image.url=https://github.com/{{ repo_organization }}/{{ image_name }}/tree/${GIT_SHA}") - LABELS+=("--label" "org.opencontainers.image.version={{ VERSION_TAG }}.$(date +%Y%m%d)-${GIT_SHA}") + LABELS+=("--label" "org.opencontainers.image.version={{ VERSION_TAG }}-${GIT_SHA}") fi # Image metadata for https://artifacthub.io/ - This is optional but is highly recommended so we all can get a index of all the custom images |
