Remove ubuntu-16.04 and add missing links for nix/go (#821)
* fix: remove ubuntu-16.04 * fix: add missing links for nix/go * fix: remove specific platform versions
This commit is contained in:
@@ -6,14 +6,9 @@ import (
|
||||
|
||||
func (i *Input) newPlatforms() map[string]string {
|
||||
platforms := map[string]string{
|
||||
"ubuntu-latest": "node:12-buster-slim",
|
||||
"ubuntu-20.04": "node:12-buster-slim",
|
||||
"ubuntu-18.04": "node:12-buster-slim",
|
||||
"ubuntu-16.04": "node:12-stretch-slim",
|
||||
"windows-latest": "",
|
||||
"windows-2019": "",
|
||||
"macos-latest": "",
|
||||
"macos-10.15": "",
|
||||
"ubuntu-latest": "node:12-buster-slim",
|
||||
"ubuntu-20.04": "node:12-buster-slim",
|
||||
"ubuntu-18.04": "node:12-buster-slim",
|
||||
}
|
||||
|
||||
for _, p := range i.platforms {
|
||||
|
@@ -310,9 +310,9 @@ func defaultImageSurvey(actrc string) error {
|
||||
case "Large":
|
||||
option = "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-latest\n-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-20.04\n-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:full-18.04\n"
|
||||
case "Medium":
|
||||
option = "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest\n-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04\n-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04\n-P ubuntu-16.04=ghcr.io/catthehacker/ubuntu:act-16.04\n"
|
||||
option = "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest\n-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04\n-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04\n"
|
||||
case "Micro":
|
||||
option = "-P ubuntu-latest=node:12-buster-slim\n-P ubuntu-20.04=node:12-buster-slim\n-P ubuntu-18.04=node:12-buster-slim\n-P ubuntu-16.04=node:12-stretch-slim\n"
|
||||
option = "-P ubuntu-latest=node:12-buster-slim\n-P ubuntu-20.04=node:12-buster-slim\n-P ubuntu-18.04=node:12-buster-slim\n"
|
||||
}
|
||||
|
||||
f, err := os.Create(actrc)
|
||||
|
Reference in New Issue
Block a user