Commit cdb6100
committed
ci: support variant-prefixed devcontainer Go tags
The devcontainer-version-check workflow extracts the Go version from
the base image tag in .devcontainer/Dockerfile. The previous regex
only matched the legacy '<major>.<minor>-bookworm' tag and failed on
the new variant-prefixed tags published on mcr.microsoft.com (e.g.
'2-1.26-bookworm'), causing the job to exit with 'Could not parse
versions'.
Allow an optional leading '<digits>-' variant prefix so both tag
forms are accepted.1 parent ec72ee2 commit cdb6100
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments