Compare commits

...

2 Commits

Author SHA1 Message Date
kosma 7c86a51ed1 server.Dockerfile: use the official docker package from hswro namespace
/ build_website (push) Successful in 6s Details
/ build_and_push_container (push) Successful in 9s Details
2025-11-16 20:32:03 +01:00
kosma b7a56877e0 README.md: add build instructions for build/serve_base 2025-11-16 20:31:30 +01:00
2 changed files with 16 additions and 1 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
```

View File

@ -1,4 +1,4 @@
FROM git.hswro.org/fleg/serve_base:caddy
FROM git.hswro.org/hswro/hswro_org_serve_base:caddy
# Copy the static website
# Use the .dockerignore file to control what ends up inside the image!