1
0
mirror of https://github.com/coreos/coreos-assembler.git synced 2026-02-05 09:44:53 +01:00

cmd-build-with-buildah: pass --build-args to versionary

This is for downstream where we have different variants and hardcoding
the path to the build-args doesn't work quite so well.
This commit is contained in:
Dusty Mabe
2026-01-25 14:01:30 -05:00
parent b6a52f1bb2
commit 8b5a318f42

View File

@@ -129,7 +129,7 @@ build_with_buildah() {
dev_arg=''
fi
# Call versionary. Let it error out if file does not exist.
VERSION=$(src/config/versionary ${dev_arg})
VERSION=$(src/config/versionary --build-args="src/config/${argsfile}" ${dev_arg})
fi
if [ -e "builds/$VERSION/${arch}" ]; then