Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 806 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 806 Bytes

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 alma9-build or ubuntu-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.