Skip to content

Commit

Permalink
Fix arg name format
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Whitlock committed Nov 13, 2024
1 parent e93ecff commit a1a3793
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ services:
dockerfile_inline: |
FROM spack/ubuntu-jammy:latest
VOLUME /configs
ARG ompi_version
ENV ompi_version=$$ompi_version
ARG OMPI_VERSION
ENV OMPI_VERSION=$${OMPI_VERSION}
CMD cp /configs/spack.yaml . && \
spack -e . add openmpi@$${ompi_version} && \
spack -e . add openmpi@$${OMPI_VERSION} && \
spack -e . containerize >/configs/spack.Dockerfile && \
sed -i -e 's/spack install/spack external find --all --not-buildable \&\& spack install/;' /configs/spack.Dockerfile
args:
ompi_version: main
OMPI_VERSION: main
no_cache: true
pull_policy: build
volumes:
Expand Down

0 comments on commit a1a3793

Please sign in to comment.