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 +```