From 311748981ac8b13f9de3cafb90a76898a684cd56 Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Mon, 8 Jul 2024 16:30:00 -0400 Subject: [PATCH] Use newer links to check the docker images Signed-off-by: Florent Poinsard --- go/releaser/release/docker.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/go/releaser/release/docker.go b/go/releaser/release/docker.go index ad68b12..57ea1fc 100644 --- a/go/releaser/release/docker.go +++ b/go/releaser/release/docker.go @@ -23,17 +23,21 @@ func CheckDockerMessage(majorRelease int, repo string) []string { "Make sure the Docker Images are being built by GitHub Actions.", "This can be done by visiting the following links, our new release should appear in either green (done) or yellow (building / pending build):", "", - fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_vttestserver.yml", repo), } // Hack: versions < v20 and versions >= v20 use different GitHub Actions workflows to build the Docker images. if majorRelease < 20 { msg = append(msg, + fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_vttestserver.yml", repo), fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_base.yml", repo), fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_lite.yml", repo), ) - } else { + } else if majorRelease == 20 { + msg = append(msg, fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_vttestserver.yml", repo)) msg = append(msg, fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_images.yml", repo)) + } else { + // this links to the newer GitHub Actions workflow that was introduced in v21 by https://github.com/vitessio/vitess/pull/16339 + msg = append(msg, fmt.Sprintf("\t- https://github.com/%s/vitess/actions/workflows/build_docker_images.yml", repo)) } return msg