mirror of
https://github.com/kitabisa/docker-slim-action.git
synced 2025-04-13 02:06:07 +00:00
chore: bump Node version to node20
(#13)
* update to nodejs20 * fix type error
This commit is contained in:
parent
e641d62304
commit
941099c9ae
@ -7,7 +7,7 @@ branding:
|
||||
color: "blue"
|
||||
|
||||
runs:
|
||||
using: "node16"
|
||||
using: "node20"
|
||||
pre: "dist/pre.js"
|
||||
main: "dist/index.js"
|
||||
post: "dist/post.js"
|
||||
@ -23,7 +23,7 @@ inputs:
|
||||
overwrite:
|
||||
description: "Overwrite target container image with slimmed version (only if target is not ID)"
|
||||
required: false
|
||||
default: false
|
||||
default: "false"
|
||||
version:
|
||||
description: "Define Slim version"
|
||||
required: false
|
||||
|
@ -55,7 +55,7 @@ async function get_slim() {
|
||||
KERNEL = os.platform();
|
||||
MACHINE = os.arch();
|
||||
|
||||
// Determine the target distrubution
|
||||
// Determine the target distribution
|
||||
if (KERNEL === 'linux') {
|
||||
EXT = 'tar.gz';
|
||||
if (MACHINE === 'x64') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user