Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions go/releaser/release/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down