Skip to content

key4hep/key4hep-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

This repository contains the Dockerfiles to build the images that are used for building the key4hep stack.

How to build and push to gitlab

docker login gitlab-registry.cern.ch
docker build -t gitlab-registry.cern.ch/key4hep/k4-deploy/<image-name> .
docker push gitlab-registry.cern.ch/key4hep/k4-deploy/<image-name>

where <image-name> can be centos7-build, ubuntu-build or alma9-build.

How to build and push to Github

docker login ghcr.io
docker build -t ghcr.io/key4hep/key4hep-images/<image-name> .
docker push ghcr.io/key4hep/key4hep-images/<image-name>

where for the login we have to use our Github username and for the password a classic token (refined is not supported at the moment of writing) with the permissions read:packages, write:packages and delete:packages.