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
commit5d5d097220c89c4703754583d422a41f37173b97 (patch)
treebc9e0bd068df8096bc6973279405b237684b44b8 /Justfile
parenta09c6dfd3c294ba2bd4a9df8f9c043b9aefaa0a0 (diff)
downloadAeroCore-OS-5d5d097220c89c4703754583d422a41f37173b97.tar.gz
AeroCore-OS-5d5d097220c89c4703754583d422a41f37173b97.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