summaryrefslogtreecommitdiffstats
path: root/doc/developer/frr-release-procedure.rst
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@qlyoung.net>2023-03-20 21:54:20 +0100
committerQuentin Young <qlyoung@qlyoung.net>2023-03-20 22:04:43 +0100
commit5c6b543b64ee663887f843154a05792a3e0fc7ea (patch)
treeee122479c9380dd7f5e41f82babff36d2eaf99d8 /doc/developer/frr-release-procedure.rst
parentMerge pull request #13050 from opensourcerouting/fix/update_snmp_mibs_doc (diff)
downloadfrr-5c6b543b64ee663887f843154a05792a3e0fc7ea.tar.xz
frr-5c6b543b64ee663887f843154a05792a3e0fc7ea.zip
doc: add release instructions for docker images
Signed-off-by: Quentin Young <qlyoung@qlyoung.net>
Diffstat (limited to '')
-rw-r--r--doc/developer/frr-release-procedure.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/developer/frr-release-procedure.rst b/doc/developer/frr-release-procedure.rst
index 6ba44b9c4..6088b52da 100644
--- a/doc/developer/frr-release-procedure.rst
+++ b/doc/developer/frr-release-procedure.rst
@@ -145,6 +145,30 @@ Stage 2 - Staging
#. Kick off the Snapcraft build plan for the release.
+#. Build Docker images
+
+ 1. Log into the Netdef Docker build VM
+ 2. ``sudo -su builduser``
+ 3. Suppose we are releasing 8.5.0, then ``X.Y.Z`` is ``8.5.0``. Run this:
+
+ .. code-block:: console
+
+ cd /home/builduser/frr
+ TAG=X.Y.Z
+ git fetch --all
+ git checkout frr-<version>
+ docker buildx build --platform linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/arm/v7,linux/arm/v6 -f docker/alpine/Dockerfile -t quay.io/frrouting/frr:$TAG --push .
+ git tag docker/$TAG
+ git push origin docker/$TAG
+
+ This will build a multi-arch image and upload it to Quay, as well as
+ create a git tag corresponding to the commit that the image was built
+ from and upload that to Github. It's important that the git tag point to
+ the exact codebase that was used to build the docker image, so if any
+ changes need to be made on top of the ``frr-<version>`` release tag, make
+ sure these changes are committed and pointed at by the ``docker/X.Y.Z``
+ tag.
+
Stage 3 - Publish
-----------------