Changed references to container registry
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 2m27s

This commit is contained in:
ebner 2025-03-27 10:41:38 +01:00
parent a15fae6aa1
commit 1191a31446

View File

@ -7,18 +7,18 @@ This is the PSI rhel9 docker developer image. It contains most developer tools e
The image can be used as follows:
```bash
docker run -it --rm container.psi.ch/images/rhel9-developer-github-actions
docker run -it --rm gitea.psi.ch/images/rhel9-developer-github-actions
```
To build an RPM this image can be used as follows:
```bash
docker run --platform linux/amd64 -it --rm -v $(pwd):/data --workdir /data container.psi.ch/images/rhel9-developer-github-actions rpmbuild -ba whatever.spec
docker run --platform linux/amd64 -it --rm -v $(pwd):/data --workdir /data gitea.psi.ch/images/rhel9-developer-github-actions rpmbuild -ba whatever.spec
```
To base other images upon this image use
```dockerfile
FROM container.psi.ch/images/rhel9-developer
FROM gitea.psi.ch/images/rhel9-developer
```
in your Dockerfile
@ -26,11 +26,11 @@ in your Dockerfile
To build the image use:
```bash
docker build --platform linux/x86_64 -t container.psi.ch/images/rhel9-developer-github-actions .
docker build --platform linux/x86_64 -t gitea.psi.ch/images/rhel9-developer-github-actions .
```
To push the image to the central container registry do:
```bash
docker login container.psi.ch
docker push container.psi.ch/images/rhel9-developer-github-actions
docker login gitea.psi.ch
docker push gitea.psi.ch/images/rhel9-developer-github-actions
```