diff options
author | hackercat <me@hackerc.at> | 2021-02-23 18:49:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 18:49:24 +0100 |
commit | 34dc2dc15c2faa6c1d81f2deb7aa8be712a779d7 (patch) | |
tree | a86d74396044f4feb6ba4cd818f7453378b8b17a /cmd | |
parent | properly parse arguments to Docker container steps (#539) (diff) | |
download | forgejo-act-34dc2dc15c2faa6c1d81f2deb7aa8be712a779d7.tar.xz forgejo-act-34dc2dc15c2faa6c1d81f2deb7aa8be712a779d7.zip |
Update Docker images (#524)
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/platforms.go | 8 | ||||
-rw-r--r-- | cmd/root.go | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cmd/platforms.go b/cmd/platforms.go index 4be7896..a6a2359 100644 --- a/cmd/platforms.go +++ b/cmd/platforms.go @@ -6,10 +6,10 @@ import ( func (i *Input) newPlatforms() map[string]string { platforms := map[string]string{ - "ubuntu-latest": "node:12.6-buster-slim", - "ubuntu-20.04": "node:12.6-buster-slim", - "ubuntu-18.04": "node:12.6-buster-slim", - "ubuntu-16.04": "node:12.6-stretch-slim", + "ubuntu-latest": "node:12.20.1-buster-slim", + "ubuntu-20.04": "node:12.20.1-buster-slim", + "ubuntu-18.04": "node:12.20.1-buster-slim", + "ubuntu-16.04": "node:12.20.1-stretch-slim", "windows-latest": "", "windows-2019": "", "macos-latest": "", diff --git a/cmd/root.go b/cmd/root.go index eb8174a..2a9a80c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -220,7 +220,7 @@ func newRunCommand(ctx context.Context, input *Input) func(*cobra.Command, []str case "Medium": option = "-P ubuntu-latest=catthehacker/ubuntu:act-latest\n-P ubuntu-20.04=catthehacker/ubuntu:act-20.04\n-P ubuntu-18.04=catthehacker/ubuntu:act-18.04\nubuntu-16.04=catthehacker/ubuntu:act-16.04" case "Micro": - option = "-P ubuntu-latest=node:12.6-buster-slim\n-P ubuntu-20.04=node:12.6-buster-slim\n-P ubuntu-18.04=node:12.6-buster-slim\n-P ubuntu-16.04=node:12.6-stretch-slim" + option = "-P ubuntu-latest=node:12.20.1-buster-slim\n-P ubuntu-20.04=node:12.20.1-buster-slim\n-P ubuntu-18.04=node:12.20.1-buster-slim\n-P ubuntu-16.04=node:12.20.1-stretch-slim" } f, err := os.Create(actrc[0]) |