From: Oto Šťáva Date: Wed, 7 Jun 2023 06:09:56 +0000 (+0200) Subject: ci/images/README: add KNOT_BRANCH explanation X-Git-Tag: v5.7.0~6^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=064c7a10bc9cd93959bba10a2bac3d7eac839a12;p=thirdparty%2Fknot-resolver.git ci/images/README: add KNOT_BRANCH explanation --- diff --git a/ci/images/README.md b/ci/images/README.md index d9efe0e8d..3d09f6033 100644 --- a/ci/images/README.md +++ b/ci/images/README.md @@ -39,3 +39,11 @@ $ ./push.sh debian-11 # pushes the local image into target registry $ ./update.sh debian-11 # utility wrapper that both builds and pushes the image $ ./update.sh */ # use shell expansion of dirnames to update all images ``` + +By default, a branch of Knot DNS deemed to be stable is selected according to +the `vars.sh` file. To build an image for a different Knot DNS branch, set the +`KNOT_BRANCH` environment variable to the name of the branch, e.g.: + +``` +$ KNOT_BRANCH='3.2' ./update.sh debian-11 +```