From 250ae929dde8a9206c4e76437284cda11423047d Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 10 Aug 2020 12:11:54 +0200 Subject: [PATCH] RELEASE.md: add Docker section --- RELEASE.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index 3aa12fd01..4a708d97b 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -238,6 +238,30 @@ Create a new release for the newly created Git tag: https://github.com/Icinga/ic Use the changelog for the release body. +## Docker + +> Only for final versions (not for RCs). + +Once the release has been published on GitHub, wait for its +[GitHub actions](https://github.com/Icinga/icingaweb2/actions) to complete. + +```bash +VERSION=2.9.1 + +TAGS=(2.9) +#TAGS=(2.9 2 latest) + +docker pull icinga/icingaweb2:$VERSION + +for t in "${TAGS[@]}"; do + docker tag icinga/icingaweb2:$VERSION icinga/icingaweb2:$t +done + +for t in "${TAGS[@]}"; do + docker push icinga/icingaweb2:$t +done +``` + ## Online Documentation This is built with a daily cronjob.