diff options
author | Ryan <me@hackerc.at> | 2021-09-22 21:43:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 21:43:58 +0200 |
commit | 17652ce80e49feecef967adcb12797ee55424f86 (patch) | |
tree | 254b72335b8f29807fd95f55dc5773544535aa1c /cmd | |
parent | Provide hint for -P (#815) (diff) | |
download | forgejo-act-17652ce80e49feecef967adcb12797ee55424f86.tar.xz forgejo-act-17652ce80e49feecef967adcb12797ee55424f86.zip |
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
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/platforms.go | 11 | ||||
-rw-r--r-- | cmd/root.go | 4 |
2 files changed, 5 insertions, 10 deletions
diff --git a/cmd/platforms.go b/cmd/platforms.go index d7e9d54..1e8bb5c 100644 --- a/cmd/platforms.go +++ b/cmd/platforms.go @@ -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 { diff --git a/cmd/root.go b/cmd/root.go index d37b33e..07dce50 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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) |