Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/spack-container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
- name: Setup Spack
uses: spack/setup-spack@v2
with:
python-version: '3.10'

- name: Install Spack
run: |
git clone --depth 1 --branch v0.23.0 https://github.com/spack/spack.git
echo "${GITHUB_WORKSPACE}/spack/bin" >> $GITHUB_PATH
ref: releases/v0.22
buildcache: true
color: true
path: spack

- name: Generate Dockerfile with Spack
shell: spack-bash {0}
working-directory: spack-env
run: |
cd spack-env
../spack/bin/spack containerize > Dockerfile
spack env activate .
spack containerize > Dockerfile

# Update the Dockerfile for human review for debugging if necessary
- name: Upload generated Dockerfile
Expand Down
Loading