From b7a56877e02418be3333e857ede28a4b6b3ee535 Mon Sep 17 00:00:00 2001 From: Kosma Moczek Date: Sun, 16 Nov 2025 20:31:30 +0100 Subject: [PATCH] README.md: add build instructions for build/serve_base --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index e3a8118..e5b3115 100644 --- a/README.md +++ b/README.md @@ -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 +```