Skip to content

Containers - nightly spack@develop #787

Containers - nightly spack@develop

Containers - nightly spack@develop #787

name: Containers - nightly spack@develop
on:
workflow_dispatch:
schedule:
- cron: '30 02 * * *'
permissions:
packages: write
jobs:
build_ci_containers:
runs-on: ubuntu-latest
strategy:
matrix:
indexsize: [32, 64]
precision: ['double']
steps:
- name: VM Hardware Info
run: |
cat /proc/cpuinfo
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
context: "./docker/sundials-ci/spack-nightly"
build-args: spack_yaml=./int${{ matrix.indexsize }}-${{ matrix.precision }}/spack.yaml
push: true
tags: ghcr.io/llnl/sundials-ci-int${{ matrix.indexsize }}-${{ matrix.precision }}:spack-develop