Skip to content

Commit a1a3793

Browse files
Fix arg name format
1 parent e93ecff commit a1a3793

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ services:
55
dockerfile_inline: |
66
FROM spack/ubuntu-jammy:latest
77
VOLUME /configs
8-
ARG ompi_version
9-
ENV ompi_version=$$ompi_version
8+
ARG OMPI_VERSION
9+
ENV OMPI_VERSION=$${OMPI_VERSION}
1010
CMD cp /configs/spack.yaml . && \
11-
spack -e . add openmpi@$${ompi_version} && \
11+
spack -e . add openmpi@$${OMPI_VERSION} && \
1212
spack -e . containerize >/configs/spack.Dockerfile && \
1313
sed -i -e 's/spack install/spack external find --all --not-buildable \&\& spack install/;' /configs/spack.Dockerfile
1414
args:
15-
ompi_version: main
15+
OMPI_VERSION: main
1616
no_cache: true
1717
pull_policy: build
1818
volumes:

0 commit comments

Comments
 (0)