@@ -193,6 +193,38 @@ Roundup release checklist:
193193
194194 https://en.wikipedia.org/wiki/Comparison_of_issue-tracking_systems
195195
196+ 17 Push release docker image to dockerhub
197+ 17a. install docker
198+ 17b. run: (issues, how to release a version e.g. to update alpine for
199+ secuity issues. Should release tag be
200+ roundup-tracker/roundup:2.2.0-1, -2 etc? Then add a tag
201+ roundup-tracker/roundup:2.2.0 that changes and always tags
202+ the latest -X release??)
203+
204+ docker build -t roundup-tracker/roundup:2.2.0 --build-arg="source=pypi" -f scripts/Docker/Dockerfile .
205+
206+ to create the dockerfile. *Change 2.2.0 to current version*
207+ Always use the exact release tag.
208+ 17c. vulnerability scan local image using:
209+
210+ docker run --rm --volume
211+ /var/run/docker.sock:/var/run/docker.sock \
212+ --name Grype anchore/grype:latest roundup-tracker/roundup:2.2.0
213+
214+ should report no vulnerabilities (note match version with current
215+ build)
216+ 17d. test roundup in demo mode:
217+
218+ docker run -it --rm -p 8917:8080 \
219+ -v $PWD/tracker:/usr/src/app/tracker \
220+ roundup-tracker/roundup:2.2.0 demo
221+ 17e. push to DockerHub login (login using 'docker login <username>'
222+ first and user must be member of roundup-tracker org with ability
223+ to publish)
224+
225+ docker tag roundup-tracker/roundup:2.2.0 roundup-tracker/roundup
226+ docker push roundup-tracker/roundup:2.2.0
227+ docker push roundup-tracker/roundup # update roundup:latest
196228
197229-------------
198230
0 commit comments