Skip to content

Commit 37b4526

Browse files
committed
fix: distro passed as build_arg needs to be the originally set one
1 parent 329ad8a commit 37b4526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
if [ ! -f {{ original_dir }}/containers/basic/{{ item.os.distro }}-{{ item.os.version }}-{{ item.mpi.implementation }}-{{ item.mpi.version }}.sif ]; then
6666
apptainer build \
6767
--warn-unused-build-args \
68-
--build-arg OS_DISTRO={{ distro }} \
68+
--build-arg OS_DISTRO={{ item.os.distro }} \
6969
--build-arg OS_VERSION={{ item.os.version }} \
7070
--build-arg MPI_IMPLEMENTATION={{ item.mpi.implementation }} \
7171
--build-arg MPI_VERSION={{ item.mpi.version }} \

0 commit comments

Comments
 (0)