mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-01 16:15:17 +00:00
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:
committed by
GitHub
parent
ecc25395aa
commit
a2315fe931
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user