File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,21 @@ func CheckDockerMessage(majorRelease int, repo string) []string {
23
23
"Make sure the Docker Images are being built by GitHub Actions." ,
24
24
"This can be done by visiting the following links, our new release should appear in either green (done) or yellow (building / pending build):" ,
25
25
"" ,
26
- fmt .Sprintf ("\t - https://github.com/%s/actions/workflows/docker_build_vttestserver.yml" , repo ),
27
26
}
28
27
29
28
// Hack: versions < v20 and versions >= v20 use different GitHub Actions workflows to build the Docker images.
30
29
if majorRelease < 20 {
31
30
msg = append (msg ,
31
+ fmt .Sprintf ("\t - https://github.com/%s/actions/workflows/docker_build_vttestserver.yml" , repo ),
32
32
fmt .Sprintf ("\t - https://github.com/%s/actions/workflows/docker_build_base.yml" , repo ),
33
33
fmt .Sprintf ("\t - https://github.com/%s/actions/workflows/docker_build_lite.yml" , repo ),
34
34
)
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 ))
36
37
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 ))
37
41
}
38
42
39
43
return msg
You can’t perform that action at this time.
0 commit comments