diff options
author | Ryan <me@hackerc.at> | 2022-05-17 21:11:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 21:11:33 +0200 |
commit | 69691c88b301ee695f5712d2ce8ad2b760725c80 (patch) | |
tree | f30437b4ab08095f2709e9ebd4b8b0f4ce2627c0 /cmd | |
parent | feat/bug-report-extended (#1163) (diff) | |
download | forgejo-act-69691c88b301ee695f5712d2ce8ad2b760725c80.tar.xz forgejo-act-69691c88b301ee695f5712d2ce8ad2b760725c80.zip |
feat: add ubuntu-22.04 (#1150)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/platforms.go | 1 | ||||
-rw-r--r-- | cmd/root.go | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/cmd/platforms.go b/cmd/platforms.go index 872980e..9d7e97a 100644 --- a/cmd/platforms.go +++ b/cmd/platforms.go @@ -7,6 +7,7 @@ import ( func (i *Input) newPlatforms() map[string]string { platforms := map[string]string{ "ubuntu-latest": "node:16-buster-slim", + "ubuntu-22.04": "node:16-bullseye-slim", "ubuntu-20.04": "node:16-buster-slim", "ubuntu-18.04": "node:16-buster-slim", } diff --git a/cmd/root.go b/cmd/root.go index a9b88d4..d373da6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -441,9 +441,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" + option = "-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest\n-P ubuntu-22.04=ghcr.io/catthehacker/ubuntu:act-22.04\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:16-buster-slim\n-P ubuntu-20.04=node:16-buster-slim\n-P ubuntu-18.04=node:16-buster-slim\n" + option = "-P ubuntu-latest=node:16-buster-slim\n-P -P ubuntu-22.04=node:16-bullseye-slim\n ubuntu-20.04=node:16-buster-slim\n-P ubuntu-18.04=node:16-buster-slim\n" } f, err := os.Create(actrc) |