1
0
Fork 0

README.md: add build instructions for build/serve_base

This commit is contained in:
kosma 2025-11-16 20:31:30 +01:00
parent d91f3c28c3
commit b7a56877e0
1 changed files with 15 additions and 0 deletions

View File

@ -38,3 +38,18 @@ Edit `_layouts/home.html`
Edit `_data/menus.yml`
### Rebuilding and pushing the build/serve images
You need to be authenticated to do this. Go to [Applications](https://git.hswro.org/user/settings/applications),
create a new Access Token with Access set to All and scope of Packages: Read and Write. Run `docker login git.hswro.org`,
enter your Forgejo username, use the Access Token as a password. From there you can publish images:
```
docker build -t git.hswro.org/hswro/hswro_org_build -f docker/build.Dockerfile .
docker push git.hswro.org/hswro/hswro_org_build:latest
```
```
docker build -t git.hswro.org/hswro/hswro_org_serve_base -f docker/serve_base.Dockerfile .
docker push git.hswro.org/hswro/hswro_org_serve_base:latest
```