Skip to content

Commit a16beae

Browse files
authored
Merge pull request #12 from pjbgf-forks/fixes
Expand arch-based tags for windows images
2 parents b655e5e + 974705f commit a16beae

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

pkg/verify/verify.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import (
1616
const timeout = 45 * time.Second
1717

1818
var archSuffixes = []string{
19+
"-windows-amd64",
20+
"-windows-arm64",
1921
"-amd64",
2022
"-arm64",
2123
}

pkg/verify/verify_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ func TestCertificateIdentity(t *testing.T) {
6666
image: "tocker.local/foo/bar:v0.0.7-arm64", // single tag may yield arch-specific images
6767
want: "https://github.com/foo/bar/.github/workflows/release.yml@refs/tags/v0.0.7",
6868
},
69+
{
70+
image: "tocker.local/foo/bar:v0.0.7-windows-amd64", // single tag may yield arch-specific images
71+
want: "https://github.com/foo/bar/.github/workflows/release.yml@refs/tags/v0.0.7",
72+
},
73+
{
74+
image: "tocker.local/foo/bar:v0.0.7-windows-arm64", // single tag may yield arch-specific images
75+
want: "https://github.com/foo/bar/.github/workflows/release.yml@refs/tags/v0.0.7",
76+
},
6977
{
7078
image: "tocker.local/foo/bar:v0.0.7-build12345",
7179
want: "https://github.com/foo/bar/.github/workflows/release.yml@refs/tags/v0.0.7-build12345",

0 commit comments

Comments
 (0)