summaryrefslogtreecommitdiff
path: root/.github/workflows/bin/generate_spack_yaml_containerize.sh
blob: 2a180b7dd1157b24d5cf3a92d9dca629a0e09e62 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash
    (echo "spack:" \
&&   echo "  specs: []" \
&&   echo "  container:" \
&&   echo "    format: docker" \
&&   echo "    images:" \
&&   echo "      os: \"${SPACK_YAML_OS}\"" \
&&   echo "      spack:" \
&&   echo "        ref: ${GITHUB_REF}") > spack.yaml