summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-26 01:29:22 +0800
committertranch <tranch.xiao@gmail.com>2026-07-26 01:29:22 +0800
commit632a225e1aa0e5c024a38b1367d8c755479a889f (patch)
treebc9e0bd068df8096bc6973279405b237684b44b8 /Justfile
parent21c68e32f7a8d77876ba782016a8063c42167963 (diff)
downloadAeroCore-OS-632a225e1aa0e5c024a38b1367d8c755479a889f.tar.gz
AeroCore-OS-632a225e1aa0e5c024a38b1367d8c755479a889f.zip
Fix Justfile version tag variable
Use the uppercase VERSION_TAG variable defined by Just.
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Justfile b/Justfile
index 68939a1..a8590e2 100644
--- a/Justfile
+++ b/Justfile
@@ -140,7 +140,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 }}.$(date +%Y%m%d)-${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