Files
dune-spack/build_ci_images.sh
Dominic Kempf d3af0fd937 Build docker images with spack inside
This prevents that the executing runner needs to be prepared to access GitHub
2020-05-13 16:38:17 +00:00

10 lines
276 B
Bash
Executable File

#!/bin/bash
set -e
version="$1"
docker build -t registry.dune-project.org/spack/dune-spack:$version --build-arg version=$version .
docker login registry.dune-project.org
docker push registry.dune-project.org/spack/dune-spack:$version
docker logout registry.dune-project.org