Build docker images with spack inside
This prevents that the executing runner needs to be prepared to access GitHub
This commit is contained in:
9
build_ci_images.sh
Executable file
9
build_ci_images.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/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
|
Reference in New Issue
Block a user