Skip to content

Commit bf65156

Browse files
Build for Node 20, update action.yml
1 parent 5bfa203 commit bf65156

File tree

6 files changed

+72
-92
lines changed

6 files changed

+72
-92
lines changed

Diff for: action.yml

+11-14
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
1-
name: Use Depot
2-
description: Install and use Depot to build Docker images
1+
name: Depot Pull
2+
description: Pull images from the Depot ephemeral registry.
33
author: Depot
44
branding:
55
icon: package
66
color: gray-dark
77
runs:
8-
using: node16
8+
using: node20
99
main: dist/index.js
1010
inputs:
11-
version:
12-
description: |-
13-
Version of the Depot CLI to install. If unspecified or set to "latest",
14-
the latest version for the target platform will be installed. Example: "0.0.2".
15-
default: latest
11+
build-id:
12+
description: The build ID to pull.
13+
required: true
14+
platform:
15+
description: The platform to pull (defaults to the current platform).
1616
required: false
17-
project:
18-
description: |-
19-
If set, will populate the `DEPOT_PROJECT_ID` environment variable.
20-
default: ''
17+
tags:
18+
description: A list of tags to apply to the pulled image
2119
required: false
2220
token:
23-
description: |-
24-
If set, will populate the `DEPOT_TOKEN` environment variable.
21+
description: If set, will populate the `DEPOT_TOKEN` environment variable.
2522
default: ''
2623
required: false

Diff for: build.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ esbuild.build({
44
entryPoints: ['src/index.ts'],
55
bundle: true,
66
platform: 'node',
7-
target: 'node16',
7+
target: 'node20',
88
outfile: 'dist/index.js',
99
})

0 commit comments

Comments
 (0)