forked from HSWro/hswro_org
README.md: add build instructions for build/serve_base
This commit is contained in:
parent
d91f3c28c3
commit
b7a56877e0
15
README.md
15
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
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue