summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorTranch <tranch.xiao@gmail.com>2026-07-28 14:29:52 +0800
committerGitHub <noreply@github.com>2026-07-28 14:29:52 +0800
commit955cc479e2534b150e695fcf8a281c6ec74b269c (patch)
tree740178183bf8648055ec79706896f123027273ab /Justfile
parentb4a04ae75e68fd39c49f6a0ee5ae8b0ea942bfb2 (diff)
parent6aee80a6d0e7a627f7966c8b00fc3acf1264b72b (diff)
downloadAeroCore-OS-955cc479e2534b150e695fcf8a281c6ec74b269c.tar.gz
AeroCore-OS-955cc479e2534b150e695fcf8a281c6ec74b269c.zip
Merge pull request #13 from AeroCore-IO/testing
Sync branding updates and improve GRUB menu behavior
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Justfile b/Justfile
index af61316..8161c52 100644
--- a/Justfile
+++ b/Justfile
@@ -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