Do not filter on linux/amd64 per default (#805)

* Do not filter on linux/amd64 per default & add tests

Tasks with no platform would otherwise not perform on runners with different OS/ARCH combos

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
Lukas Bachschwell
2022-02-26 22:54:28 +01:00
committed by GitHub
parent ecc25395aa
commit a2315fe931
3 changed files with 102 additions and 3 deletions

View File

@@ -218,8 +218,5 @@ func (m *Metadata) Environ() map[string]string {
var pullRegexp = regexp.MustCompile(`\d+`)
func (m *Metadata) SetPlatform(platform string) {
if platform == "" {
platform = "linux/amd64"
}
m.Sys.Arch = platform
}