Skip to content

Commit 79578cb

Browse files
authored
Merge pull request #107 from vitessio/new-docker-link
Use newer links to check the docker images
2 parents 73e7b5f + 3117489 commit 79578cb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

go/releaser/release/docker.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,21 @@ func CheckDockerMessage(majorRelease int, repo string) []string {
2323
"Make sure the Docker Images are being built by GitHub Actions.",
2424
"This can be done by visiting the following links, our new release should appear in either green (done) or yellow (building / pending build):",
2525
"",
26-
fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_vttestserver.yml", repo),
2726
}
2827

2928
// Hack: versions < v20 and versions >= v20 use different GitHub Actions workflows to build the Docker images.
3029
if majorRelease < 20 {
3130
msg = append(msg,
31+
fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_vttestserver.yml", repo),
3232
fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_base.yml", repo),
3333
fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_lite.yml", repo),
3434
)
35-
} else {
35+
} else if majorRelease == 20 {
36+
msg = append(msg, fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_vttestserver.yml", repo))
3637
msg = append(msg, fmt.Sprintf("\t- https://github.com/%s/actions/workflows/docker_build_images.yml", repo))
38+
} else {
39+
// this links to the newer GitHub Actions workflow that was introduced in v21 by https://github.com/vitessio/vitess/pull/16339
40+
msg = append(msg, fmt.Sprintf("\t- https://github.com/%s/vitess/actions/workflows/build_docker_images.yml", repo))
3741
}
3842

3943
return msg

0 commit comments

Comments
 (0)