Skip to content

Commit f8a9571

Browse files
committed
docs: suggest using a separate clone of the repo for the docker release process
Signed-off-by: F.N. Claessen <claessen@seita.nl>
1 parent 6d3a4af commit f8a9571

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

RELEASE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ For a MINOR or MAJOR release:
9494
- `deactivate && rm -rf testing-fm-latest`
9595
- [ ] Release to Docker Hub:
9696
- [ ] Check `docker images` (CREATED column) to make sure the `flexmeasures-server` image is the one you just built (under "Test steps")
97+
- [ ] Work with a fresh clone of the repo under a separate `flexmeasures-release` folder to avoid any run artifacts from being included in the image: `git clone git@github.com:FlexMeasures/flexmeasures.git flexmeasures-release`
98+
- [ ] Checkout the right tag: `git checkout v<major>.<minor>.<patch>`
9799
- [ ] Re-build, because we want the new git version tag to be part of it: `docker compose build`
98-
- [ ] `docker tag flexmeasures-server lfenergy/flexmeasures:v<major>.<minor>.<patch>`
99-
- [ ] `docker tag flexmeasures-server lfenergy/flexmeasures:latest`
100+
- [ ] `docker tag flexmeasures-release-server lfenergy/flexmeasures:v<major>.<minor>.<patch>`
101+
- [ ] `docker tag flexmeasures-release-server lfenergy/flexmeasures:latest`
100102
- [ ] `docker login -u flexmeasures` # Credentials for the Docker account are in Seita's keepass store. When using Docker Desktop (maybe for all Docker demons), you need a GPG key to use the Linux pass-store (https://docs.docker.com/desktop/get-started/#sign-in-to-docker-desktop)
101103
- `docker push lfenergy/flexmeasures:v<major>.<minor>.<patch>`
102104
- `docker push lfenergy/flexmeasures:latest`

0 commit comments

Comments
 (0)