mirror of
https://github.com/docker/setup-docker-action.git
synced 2025-06-13 15:17:11 +02:00
Compare commits
40 Commits
Author | SHA1 | Date | |
---|---|---|---|
efe6ba76e3 | |||
1211ebfa1f | |||
63f2e57f85 | |||
b7bb1d4426 | |||
7db77378a9 | |||
2d89c571bd | |||
f27261ca18 | |||
a39f563e16 | |||
54c51f4ee8 | |||
364f5e215c | |||
b60f85385d | |||
643c69a8cb | |||
5c724e91b0 | |||
c2d73c1a11 | |||
bb512e8cb4 | |||
36de8cc80a | |||
f96ea45537 | |||
6b291a174a | |||
d44b774c56 | |||
057bfa9666 | |||
0f738e9bf9 | |||
a329cfc112 | |||
979ffe9e09 | |||
847482916a | |||
d6e275d4ff | |||
370a7dad4b | |||
23c3839175 | |||
b814c39737 | |||
75153b5b5e | |||
3a56725668 | |||
fde3095c59 | |||
d22c57e6c4 | |||
6172ee107f | |||
2a248d822c | |||
6dbd87054b | |||
68b1efda1d | |||
7188e7a998 | |||
927974f719 | |||
1439ace8f2 | |||
b86a7cc004 |
59
.github/workflows/ci.yml
vendored
59
.github/workflows/ci.yml
vendored
@ -18,6 +18,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
DOCKER_VERSION: v27.3.1
|
DOCKER_VERSION: v27.3.1
|
||||||
|
DOCKER_BUILD_SUMMARY: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
@ -27,10 +28,12 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
|
- ubuntu-24.04-arm
|
||||||
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
||||||
- macos-13
|
- macos-13
|
||||||
- windows-latest
|
- windows-latest
|
||||||
version:
|
version:
|
||||||
|
- ""
|
||||||
- v27.3.1
|
- v27.3.1
|
||||||
- type=image,tag=27.3.1
|
- type=image,tag=27.3.1
|
||||||
steps:
|
steps:
|
||||||
@ -50,6 +53,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
|
- ubuntu-24.04-arm
|
||||||
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
||||||
- macos-13
|
- macos-13
|
||||||
- windows-latest
|
- windows-latest
|
||||||
@ -71,6 +75,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
|
- ubuntu-24.04-arm
|
||||||
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
||||||
- macos-13
|
- macos-13
|
||||||
- windows-latest
|
- windows-latest
|
||||||
@ -98,6 +103,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
|
- ubuntu-24.04-arm
|
||||||
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
||||||
- macos-13
|
- macos-13
|
||||||
- windows-latest
|
- windows-latest
|
||||||
@ -270,3 +276,56 @@ jobs:
|
|||||||
name: List contexts
|
name: List contexts
|
||||||
run: |
|
run: |
|
||||||
docker context ls
|
docker context ls
|
||||||
|
|
||||||
|
tcp:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-latest
|
||||||
|
- ubuntu-24.04-arm
|
||||||
|
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
|
||||||
|
- macos-13
|
||||||
|
- windows-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
-
|
||||||
|
name: Set up Docker
|
||||||
|
id: setup_docker
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
version: ${{ env.DOCKER_VERSION }}
|
||||||
|
tcp-port: 2378
|
||||||
|
-
|
||||||
|
name: Check docker info through TCP
|
||||||
|
run: |
|
||||||
|
docker info
|
||||||
|
env:
|
||||||
|
DOCKER_HOST: ${{ steps.setup_docker.outputs.tcp }}
|
||||||
|
|
||||||
|
undock-regctl-version:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
undock_version:
|
||||||
|
- ''
|
||||||
|
- v0.9.0
|
||||||
|
regctl_version:
|
||||||
|
- ''
|
||||||
|
- v0.8.2
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
-
|
||||||
|
name: Set up Docker
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
version: type=image
|
||||||
|
env:
|
||||||
|
UNDOCK_VERSION: ${{ matrix.undock_version }}
|
||||||
|
REGCTL_VERSION: ${{ matrix.regctl_version }}
|
||||||
|
17
.github/workflows/pr-assign-author.yml
vendored
Normal file
17
.github/workflows/pr-assign-author.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: pr-assign-author
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@1b673f36fad86812f538c1df9794904038a23cbf
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
21
.github/workflows/publish.yml
vendored
Normal file
21
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- published
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
packages: write
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
-
|
||||||
|
name: Publish
|
||||||
|
uses: actions/publish-immutable-action@v0.0.4
|
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -20,12 +20,13 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
-
|
-
|
||||||
name: Test
|
name: Test
|
||||||
uses: docker/bake-action@v5
|
uses: docker/bake-action@v6
|
||||||
with:
|
with:
|
||||||
targets: test
|
targets: test
|
||||||
-
|
-
|
||||||
name: Upload coverage
|
name: Upload coverage
|
||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
|
source: .
|
||||||
files: ./coverage/clover.xml
|
files: ./coverage/clover.xml
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
16
.github/workflows/validate.yml
vendored
16
.github/workflows/validate.yml
vendored
@ -15,16 +15,17 @@ jobs:
|
|||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
targets: ${{ steps.targets.outputs.matrix }}
|
targets: ${{ steps.generate.outputs.targets }}
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
-
|
-
|
||||||
name: Targets matrix
|
name: List targets
|
||||||
id: targets
|
id: generate
|
||||||
run: |
|
uses: docker/bake-action/subaction/list-targets@v6
|
||||||
echo "matrix=$(docker buildx bake validate --print | jq -cr '.group.validate.targets')" >> $GITHUB_OUTPUT
|
with:
|
||||||
|
target: validate
|
||||||
|
|
||||||
validate:
|
validate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -35,11 +36,8 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
target: ${{ fromJson(needs.prepare.outputs.targets) }}
|
target: ${{ fromJson(needs.prepare.outputs.targets) }}
|
||||||
steps:
|
steps:
|
||||||
-
|
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
-
|
-
|
||||||
name: Validate
|
name: Validate
|
||||||
uses: docker/bake-action@v5
|
uses: docker/bake-action@v6
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.target }}
|
targets: ${{ matrix.target }}
|
||||||
|
85
README.md
85
README.md
@ -31,6 +31,7 @@ ___
|
|||||||
* [Define custom `limactl start` arguments (macOS)](#define-custom-limactl-start-arguments-macos)
|
* [Define custom `limactl start` arguments (macOS)](#define-custom-limactl-start-arguments-macos)
|
||||||
* [Customizing](#customizing)
|
* [Customizing](#customizing)
|
||||||
* [inputs](#inputs)
|
* [inputs](#inputs)
|
||||||
|
* [inputs.version](#inputsversion)
|
||||||
* [outputs](#outputs)
|
* [outputs](#outputs)
|
||||||
* [Contributing](#contributing)
|
* [Contributing](#contributing)
|
||||||
* [License](#license)
|
* [License](#license)
|
||||||
@ -51,7 +52,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Set up Docker
|
name: Set up Docker
|
||||||
uses: docker/setup-docker-action@v3
|
uses: docker/setup-docker-action@v4
|
||||||
```
|
```
|
||||||
|
|
||||||
### Daemon configuration
|
### Daemon configuration
|
||||||
@ -73,7 +74,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Set up Docker
|
name: Set up Docker
|
||||||
uses: docker/setup-docker-action@v3
|
uses: docker/setup-docker-action@v4
|
||||||
with:
|
with:
|
||||||
daemon-config: |
|
daemon-config: |
|
||||||
{
|
{
|
||||||
@ -101,7 +102,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Set up Docker
|
name: Set up Docker
|
||||||
uses: docker/setup-docker-action@v3
|
uses: docker/setup-docker-action@v4
|
||||||
env:
|
env:
|
||||||
LIMA_START_ARGS: --cpus 4 --memory 8
|
LIMA_START_ARGS: --cpus 4 --memory 8
|
||||||
```
|
```
|
||||||
@ -114,20 +115,88 @@ The following inputs can be used as `step.with` keys
|
|||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|-----------------|--------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------|
|
|-----------------|--------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `version` | String | `latest` | Docker CE version (e.g., `v24.0.6`). |
|
| `version` | String | `latest` | Docker version to use. See [inputs.version](#inputs.version). |
|
||||||
| `channel` | String | `stable` | Docker CE [channel](https://download.docker.com/linux/static/) (e.g, `stable`, `edge` or `test`). |
|
| `channel` | String | `stable` | Docker CE [channel](https://download.docker.com/linux/static/) (`stable` or `test`). Only applicable to `type=archive` |
|
||||||
| `daemon-config` | String | | [Docker daemon JSON configuration](https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file) |
|
| `daemon-config` | String | | [Docker daemon JSON configuration](https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file) |
|
||||||
|
| `tcp-port` | Number | | TCP port to expose the Docker API locally |
|
||||||
| `context` | String | `setup-docker-action` | Docker context name. |
|
| `context` | String | `setup-docker-action` | Docker context name. |
|
||||||
| `set-host` | Bool | `false` | Set `DOCKER_HOST` environment variable to docker socket path. |
|
| `set-host` | Bool | `false` | Set `DOCKER_HOST` environment variable to docker socket path. |
|
||||||
| `rootless` | Bool | `false` | Start daemon in rootless mode |
|
| `rootless` | Bool | `false` | Start daemon in rootless mode |
|
||||||
|
|
||||||
|
### inputs.version
|
||||||
|
|
||||||
|
By default, the latest stable version of Docker is fetched from download.docker.com.
|
||||||
|
|
||||||
|
You can specify a specific version number (e.g. `v27.4.0`).
|
||||||
|
Which is a shorthand for the full comma separated value:
|
||||||
|
|
||||||
|
`type=archive,channel=stable,version=v27.4.0`
|
||||||
|
|
||||||
|
You can also use this full csv format instead.
|
||||||
|
|
||||||
|
Currently supported source types are:
|
||||||
|
- `archive`
|
||||||
|
- `image`
|
||||||
|
|
||||||
|
#### `type=archive`
|
||||||
|
| Key | Default | Description |
|
||||||
|
|-----------|------------|--------------------------------------------------------------------------------------|
|
||||||
|
| `type` | `archive` | The source type of the Docker binaries. Possible values are `archive` and `image`. |
|
||||||
|
| `channel` | `stable` | The download.docker.com channel (`stable` or `test`). |
|
||||||
|
| `version` | `latest` | The Docker version to use. |
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
```yaml
|
||||||
|
# last stable released version
|
||||||
|
version: latest
|
||||||
|
version: type=archive # same as above
|
||||||
|
version: version=latest # same as above
|
||||||
|
version: type=archive,version=latest # same as above
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# v27.3.0-rc.1 from test channel
|
||||||
|
version: type=archive,version=27.3.0-rc.1,channel=test
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `type=image`
|
||||||
|
|
||||||
|
Other possible source type is `image` which will pull the Docker binaries from the `moby/moby-bin` and
|
||||||
|
`dockereng/cli-bin` Docker Hub repositories.
|
||||||
|
The advantage of using this source type is that these images are built by the Moby and Docker CI pipelines
|
||||||
|
for each branch and PR, so you can use the `tag` input to install a specific version or branch (e.g. `master`).
|
||||||
|
|
||||||
|
| Key | Default | Description |
|
||||||
|
|-----------|------------|--------------------------------------------------------------------------------------|
|
||||||
|
| `tag` | `latest` | The image tag to use. |
|
||||||
|
|
||||||
|
See https://hub.docker.com/r/moby/moby-bin/tags and https://hub.docker.com/r/dockereng/cli-bin/tags for available tags.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
```yaml
|
||||||
|
# install last stable released version from bin images
|
||||||
|
version: type=image
|
||||||
|
version: type=image,tag=latest # same as above
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# a cutting-edge version from the `master` branch
|
||||||
|
version: type=image,tag=master
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# install v27.4.0 from bin images
|
||||||
|
version: type=image,tag=27.4.0
|
||||||
|
```
|
||||||
|
|
||||||
### outputs
|
### outputs
|
||||||
|
|
||||||
The following outputs are available
|
The following outputs are available
|
||||||
|
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
|--------|--------|--------------------|
|
|--------|--------|---------------------------------------|
|
||||||
| `sock` | String | Docker socket path |
|
| `sock` | String | Docker socket path |
|
||||||
|
| `tcp` | String | Docker TCP address if tcp-port is set |
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
@ -185,6 +185,27 @@ describe('getInputs', () => {
|
|||||||
rootless: true,
|
rootless: true,
|
||||||
} as context.Inputs
|
} as context.Inputs
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
9,
|
||||||
|
new Map<string, string>([
|
||||||
|
['version', 'v24.0.8'],
|
||||||
|
['tcp-port', '2378'],
|
||||||
|
['set-host', 'false'],
|
||||||
|
['rootless', 'false'],
|
||||||
|
]),
|
||||||
|
{
|
||||||
|
source: {
|
||||||
|
type: 'archive',
|
||||||
|
version: 'v24.0.8',
|
||||||
|
channel: 'stable'
|
||||||
|
},
|
||||||
|
context: '',
|
||||||
|
daemonConfig: '',
|
||||||
|
tcpPort: 2378,
|
||||||
|
rootless: false,
|
||||||
|
setHost: false
|
||||||
|
} as context.Inputs
|
||||||
|
],
|
||||||
])(
|
])(
|
||||||
'[%d] given %p as inputs, returns %p',
|
'[%d] given %p as inputs, returns %p',
|
||||||
async (num: number, inputs: Map<string, string>, expected: context.Inputs) => {
|
async (num: number, inputs: Map<string, string>, expected: context.Inputs) => {
|
||||||
|
@ -17,6 +17,9 @@ inputs:
|
|||||||
daemon-config:
|
daemon-config:
|
||||||
description: 'Docker daemon JSON configuration'
|
description: 'Docker daemon JSON configuration'
|
||||||
required: false
|
required: false
|
||||||
|
tcp-port:
|
||||||
|
description: 'TCP port to expose the Docker API locally'
|
||||||
|
required: false
|
||||||
context:
|
context:
|
||||||
description: 'Docker context name. (default setup-docker-action)'
|
description: 'Docker context name. (default setup-docker-action)'
|
||||||
required: false
|
required: false
|
||||||
@ -32,6 +35,8 @@ inputs:
|
|||||||
outputs:
|
outputs:
|
||||||
sock:
|
sock:
|
||||||
description: "Docker socket path"
|
description: "Docker socket path"
|
||||||
|
tcp:
|
||||||
|
description: "Docker TCP address if tcp-port is set"
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node20'
|
using: 'node20'
|
||||||
|
30
dist/index.js
generated
vendored
30
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
6
dist/licenses.txt
generated
vendored
6
dist/licenses.txt
generated
vendored
@ -2532,9 +2532,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|||||||
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
dot-object
|
|
||||||
MIT
|
|
||||||
|
|
||||||
encoding
|
encoding
|
||||||
MIT
|
MIT
|
||||||
Copyright (c) 2012-2014 Andris Reinman
|
Copyright (c) 2012-2014 Andris Reinman
|
||||||
@ -4247,9 +4244,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
twirp-ts
|
|
||||||
MIT
|
|
||||||
|
|
||||||
undici
|
undici
|
||||||
MIT
|
MIT
|
||||||
MIT License
|
MIT License
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
target "_common" {
|
||||||
|
args = {
|
||||||
|
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
group "default" {
|
group "default" {
|
||||||
targets = ["build"]
|
targets = ["build"]
|
||||||
}
|
}
|
||||||
@ -11,42 +17,49 @@ group "validate" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
target "build" {
|
target "build" {
|
||||||
|
inherits = ["_common"]
|
||||||
dockerfile = "dev.Dockerfile"
|
dockerfile = "dev.Dockerfile"
|
||||||
target = "build-update"
|
target = "build-update"
|
||||||
output = ["."]
|
output = ["."]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "build-validate" {
|
target "build-validate" {
|
||||||
|
inherits = ["_common"]
|
||||||
dockerfile = "dev.Dockerfile"
|
dockerfile = "dev.Dockerfile"
|
||||||
target = "build-validate"
|
target = "build-validate"
|
||||||
output = ["type=cacheonly"]
|
output = ["type=cacheonly"]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "format" {
|
target "format" {
|
||||||
|
inherits = ["_common"]
|
||||||
dockerfile = "dev.Dockerfile"
|
dockerfile = "dev.Dockerfile"
|
||||||
target = "format-update"
|
target = "format-update"
|
||||||
output = ["."]
|
output = ["."]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "lint" {
|
target "lint" {
|
||||||
|
inherits = ["_common"]
|
||||||
dockerfile = "dev.Dockerfile"
|
dockerfile = "dev.Dockerfile"
|
||||||
target = "lint"
|
target = "lint"
|
||||||
output = ["type=cacheonly"]
|
output = ["type=cacheonly"]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "vendor-update" {
|
target "vendor-update" {
|
||||||
|
inherits = ["_common"]
|
||||||
dockerfile = "dev.Dockerfile"
|
dockerfile = "dev.Dockerfile"
|
||||||
target = "vendor-update"
|
target = "vendor-update"
|
||||||
output = ["."]
|
output = ["."]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "vendor-validate" {
|
target "vendor-validate" {
|
||||||
|
inherits = ["_common"]
|
||||||
dockerfile = "dev.Dockerfile"
|
dockerfile = "dev.Dockerfile"
|
||||||
target = "vendor-validate"
|
target = "vendor-validate"
|
||||||
output = ["type=cacheonly"]
|
output = ["type=cacheonly"]
|
||||||
}
|
}
|
||||||
|
|
||||||
target "test" {
|
target "test" {
|
||||||
|
inherits = ["_common"]
|
||||||
dockerfile = "dev.Dockerfile"
|
dockerfile = "dev.Dockerfile"
|
||||||
target = "test-coverage"
|
target = "test-coverage"
|
||||||
output = ["./coverage"]
|
output = ["./coverage"]
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"packageManager": "yarn@3.6.3",
|
"packageManager": "yarn@3.6.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
"@docker/actions-toolkit": "^0.47.0"
|
"@docker/actions-toolkit": "^0.61.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.6.0",
|
"@types/node": "^20.6.0",
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
import * as core from '@actions/core';
|
import * as core from '@actions/core';
|
||||||
import {InstallSource} from '@docker/actions-toolkit/lib/docker/install';
|
|
||||||
import {parse} from 'csv-parse/sync';
|
import {parse} from 'csv-parse/sync';
|
||||||
|
|
||||||
|
import {InstallSource} from '@docker/actions-toolkit/lib/docker/install';
|
||||||
|
import {Util} from '@docker/actions-toolkit/lib/util';
|
||||||
|
|
||||||
export interface Inputs {
|
export interface Inputs {
|
||||||
source: InstallSource;
|
source: InstallSource;
|
||||||
daemonConfig?: string;
|
daemonConfig?: string;
|
||||||
|
tcpPort?: number;
|
||||||
context: string;
|
context: string;
|
||||||
setHost: boolean;
|
setHost: boolean;
|
||||||
rootless: boolean;
|
rootless: boolean;
|
||||||
@ -21,6 +24,7 @@ export function getInputs(): Inputs {
|
|||||||
return {
|
return {
|
||||||
source: source,
|
source: source,
|
||||||
daemonConfig: core.getInput('daemon-config'),
|
daemonConfig: core.getInput('daemon-config'),
|
||||||
|
tcpPort: Util.getInputNumber('tcp-port'),
|
||||||
context: core.getInput('context'),
|
context: core.getInput('context'),
|
||||||
setHost: core.getBooleanInput('set-host'),
|
setHost: core.getBooleanInput('set-host'),
|
||||||
rootless: core.getBooleanInput('rootless')
|
rootless: core.getBooleanInput('rootless')
|
||||||
|
50
src/main.ts
50
src/main.ts
@ -5,10 +5,17 @@ import * as core from '@actions/core';
|
|||||||
import * as actionsToolkit from '@docker/actions-toolkit';
|
import * as actionsToolkit from '@docker/actions-toolkit';
|
||||||
import {Install} from '@docker/actions-toolkit/lib/docker/install';
|
import {Install} from '@docker/actions-toolkit/lib/docker/install';
|
||||||
import {Docker} from '@docker/actions-toolkit/lib/docker/docker';
|
import {Docker} from '@docker/actions-toolkit/lib/docker/docker';
|
||||||
|
import {Install as RegclientInstall} from '@docker/actions-toolkit/lib/regclient/install';
|
||||||
|
import {Regctl} from '@docker/actions-toolkit/lib/regclient/regctl';
|
||||||
|
import {Install as UndockInstall} from '@docker/actions-toolkit/lib/undock/install';
|
||||||
|
import {Undock} from '@docker/actions-toolkit/lib/undock/undock';
|
||||||
|
|
||||||
import * as context from './context';
|
import * as context from './context';
|
||||||
import * as stateHelper from './state-helper';
|
import * as stateHelper from './state-helper';
|
||||||
|
|
||||||
|
const regctlDefaultVersion = 'v0.8.3';
|
||||||
|
const undockDefaultVersion = 'v0.10.0';
|
||||||
|
|
||||||
actionsToolkit.run(
|
actionsToolkit.run(
|
||||||
// main
|
// main
|
||||||
async () => {
|
async () => {
|
||||||
@ -19,12 +26,45 @@ actionsToolkit.run(
|
|||||||
throw new Error(`'default' context cannot be used.`);
|
throw new Error(`'default' context cannot be used.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (input.source.type === 'image') {
|
||||||
|
await core.group(`Download and install regctl`, async () => {
|
||||||
|
const regclientInstall = new RegclientInstall();
|
||||||
|
const regclientBinPath = await regclientInstall.download(
|
||||||
|
process.env.REGCTL_VERSION && process.env.REGCTL_VERSION.trim()
|
||||||
|
? process.env.REGCTL_VERSION
|
||||||
|
: regctlDefaultVersion,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
await regclientInstall.install(regclientBinPath);
|
||||||
|
});
|
||||||
|
await core.group(`Download and install undock`, async () => {
|
||||||
|
const undockInstall = new UndockInstall();
|
||||||
|
const undockBinPath = await undockInstall.download(
|
||||||
|
process.env.UNDOCK_VERSION && process.env.UNDOCK_VERSION.trim()
|
||||||
|
? process.env.UNDOCK_VERSION
|
||||||
|
: undockDefaultVersion,
|
||||||
|
true
|
||||||
|
);
|
||||||
|
await undockInstall.install(undockBinPath);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
let tcpPort: number | undefined;
|
||||||
|
let tcpAddress: string | undefined;
|
||||||
|
if (input.tcpPort) {
|
||||||
|
tcpPort = input.tcpPort;
|
||||||
|
tcpAddress = `tcp://127.0.0.1:${tcpPort}`;
|
||||||
|
}
|
||||||
|
|
||||||
const install = new Install({
|
const install = new Install({
|
||||||
runDir: runDir,
|
runDir: runDir,
|
||||||
source: input.source,
|
source: input.source,
|
||||||
rootless: input.rootless,
|
rootless: input.rootless,
|
||||||
contextName: input.context || 'setup-docker-action',
|
contextName: input.context || 'setup-docker-action',
|
||||||
daemonConfig: input.daemonConfig
|
daemonConfig: input.daemonConfig,
|
||||||
|
localTCPPort: tcpPort,
|
||||||
|
regctl: new Regctl(),
|
||||||
|
undock: new Undock()
|
||||||
});
|
});
|
||||||
let toolDir;
|
let toolDir;
|
||||||
if (!(await Docker.isAvailable()) || input.source) {
|
if (!(await Docker.isAvailable()) || input.source) {
|
||||||
@ -38,6 +78,10 @@ actionsToolkit.run(
|
|||||||
await core.group(`Setting outputs`, async () => {
|
await core.group(`Setting outputs`, async () => {
|
||||||
core.info(`sock=${sockPath}`);
|
core.info(`sock=${sockPath}`);
|
||||||
core.setOutput('sock', sockPath);
|
core.setOutput('sock', sockPath);
|
||||||
|
if (tcpAddress) {
|
||||||
|
core.info(`tcp=${tcpAddress}`);
|
||||||
|
core.setOutput('tcp', tcpAddress);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (input.setHost) {
|
if (input.setHost) {
|
||||||
@ -59,7 +103,9 @@ actionsToolkit.run(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const install = new Install({
|
const install = new Install({
|
||||||
runDir: stateHelper.runDir
|
runDir: stateHelper.runDir,
|
||||||
|
regctl: new Regctl(),
|
||||||
|
undock: new Undock()
|
||||||
});
|
});
|
||||||
await install.tearDown();
|
await install.tearDown();
|
||||||
}
|
}
|
||||||
|
199
yarn.lock
199
yarn.lock
@ -12,9 +12,9 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@actions/artifact@npm:^2.1.11":
|
"@actions/artifact@npm:^2.3.2":
|
||||||
version: 2.1.11
|
version: 2.3.2
|
||||||
resolution: "@actions/artifact@npm:2.1.11"
|
resolution: "@actions/artifact@npm:2.3.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@actions/core": ^1.10.0
|
"@actions/core": ^1.10.0
|
||||||
"@actions/github": ^5.1.1
|
"@actions/github": ^5.1.1
|
||||||
@ -27,15 +27,14 @@ __metadata:
|
|||||||
"@protobuf-ts/plugin": ^2.2.3-alpha.1
|
"@protobuf-ts/plugin": ^2.2.3-alpha.1
|
||||||
archiver: ^7.0.1
|
archiver: ^7.0.1
|
||||||
jwt-decode: ^3.1.2
|
jwt-decode: ^3.1.2
|
||||||
twirp-ts: ^2.5.0
|
|
||||||
unzip-stream: ^0.3.1
|
unzip-stream: ^0.3.1
|
||||||
checksum: dbdafaad11cc573768a00f6b8a7f5109f587eb9461564ae8f15ea8fd1d6a719041df45a92ec204a43a8a1e7ce2c21d8e4229543579b89a3ca8ea30dedddf2fc9
|
checksum: 78ee41b43800accb2f3527e1733217c43d53693e7f96ce2470b16890fb84f5c2ebaaa6048ccdb6cfe188b54c02779ec99623c6932558e757f6829cfde203cf2c
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@actions/cache@npm:^3.3.0":
|
"@actions/cache@npm:^4.0.3":
|
||||||
version: 3.3.0
|
version: 4.0.3
|
||||||
resolution: "@actions/cache@npm:3.3.0"
|
resolution: "@actions/cache@npm:4.0.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@actions/core": ^1.11.1
|
"@actions/core": ^1.11.1
|
||||||
"@actions/exec": ^1.0.1
|
"@actions/exec": ^1.0.1
|
||||||
@ -45,8 +44,9 @@ __metadata:
|
|||||||
"@azure/abort-controller": ^1.1.0
|
"@azure/abort-controller": ^1.1.0
|
||||||
"@azure/ms-rest-js": ^2.6.0
|
"@azure/ms-rest-js": ^2.6.0
|
||||||
"@azure/storage-blob": ^12.13.0
|
"@azure/storage-blob": ^12.13.0
|
||||||
|
"@protobuf-ts/plugin": ^2.9.4
|
||||||
semver: ^6.3.1
|
semver: ^6.3.1
|
||||||
checksum: f0761b1491b7706a80b44d68ed52eb48c04653fc939525a7c7b606e9d9251c40c7e4ac20846ab92ac32db6869e1a6f0f574bd6b7fec1ab9378c8e199c5acc9c9
|
checksum: ee9c2a21a70bd3f35c63f302af478e23f135c26deb77ea2e4eed29c62766a4b201fc7435651c0d56fa504c02d203107e3bdfda1dba18a3ee09338e1dfc3f2fe8
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -159,17 +159,16 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@actions/tool-cache@npm:^2.0.1":
|
"@actions/tool-cache@npm:^2.0.2":
|
||||||
version: 2.0.1
|
version: 2.0.2
|
||||||
resolution: "@actions/tool-cache@npm:2.0.1"
|
resolution: "@actions/tool-cache@npm:2.0.2"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@actions/core": ^1.2.6
|
"@actions/core": ^1.11.1
|
||||||
"@actions/exec": ^1.0.0
|
"@actions/exec": ^1.0.0
|
||||||
"@actions/http-client": ^2.0.1
|
"@actions/http-client": ^2.0.1
|
||||||
"@actions/io": ^1.1.1
|
"@actions/io": ^1.1.1
|
||||||
semver: ^6.1.0
|
semver: ^6.1.0
|
||||||
uuid: ^3.3.2
|
checksum: c2bab4297be752bdda9dd61f8159a201ad0d37d026134b960f1edcc9418a80387f44d1f24a070fe992c44dcfc28a152f70600e76669bb0578132789a6f37a596
|
||||||
checksum: 33f6393b9b163e4af2b9759e8d37cda4f018f10ddda3643355bb8a9f92d732e5bdff089cf8036b46d181e1ef2b3210b895b2f746fdf54487afe88f1d340aa9e1
|
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -1102,18 +1101,18 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@docker/actions-toolkit@npm:^0.47.0":
|
"@docker/actions-toolkit@npm:^0.61.0":
|
||||||
version: 0.47.0
|
version: 0.61.0
|
||||||
resolution: "@docker/actions-toolkit@npm:0.47.0"
|
resolution: "@docker/actions-toolkit@npm:0.61.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@actions/artifact": ^2.1.11
|
"@actions/artifact": ^2.3.2
|
||||||
"@actions/cache": ^3.3.0
|
"@actions/cache": ^4.0.3
|
||||||
"@actions/core": ^1.11.1
|
"@actions/core": ^1.11.1
|
||||||
"@actions/exec": ^1.1.1
|
"@actions/exec": ^1.1.1
|
||||||
"@actions/github": ^6.0.0
|
"@actions/github": ^6.0.0
|
||||||
"@actions/http-client": ^2.2.3
|
"@actions/http-client": ^2.2.3
|
||||||
"@actions/io": ^1.1.3
|
"@actions/io": ^1.1.3
|
||||||
"@actions/tool-cache": ^2.0.1
|
"@actions/tool-cache": ^2.0.2
|
||||||
"@azure/storage-blob": ^12.15.0
|
"@azure/storage-blob": ^12.15.0
|
||||||
"@octokit/core": ^5.1.0
|
"@octokit/core": ^5.1.0
|
||||||
"@octokit/plugin-rest-endpoint-methods": ^10.4.0
|
"@octokit/plugin-rest-endpoint-methods": ^10.4.0
|
||||||
@ -1124,10 +1123,10 @@ __metadata:
|
|||||||
he: ^1.2.0
|
he: ^1.2.0
|
||||||
js-yaml: ^4.1.0
|
js-yaml: ^4.1.0
|
||||||
jwt-decode: ^4.0.0
|
jwt-decode: ^4.0.0
|
||||||
semver: ^7.6.3
|
semver: ^7.7.1
|
||||||
tar-stream: ^3.1.7
|
tar-stream: ^3.1.7
|
||||||
tmp: ^0.2.3
|
tmp: ^0.2.3
|
||||||
checksum: a0008259ab7108e4f74e1f8c5ec79d917032170e746e75f895828c3afd4120e4a72e4d8fd2dd620781a72fb5d663e491d1f84b39e4002199d5b2cd878c62913c
|
checksum: 60cc6c8f5bde8221a3d6a40c15258d44a468950353098f1814d8af3a14131df9c41df5b87298cd82f5c77aa4e36e262c15a5bb0cc03ea2857bea18c9e0952d80
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -1935,7 +1934,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@protobuf-ts/plugin-framework@npm:^2.0.7, @protobuf-ts/plugin-framework@npm:^2.9.4":
|
"@protobuf-ts/plugin-framework@npm:^2.9.4":
|
||||||
version: 2.9.4
|
version: 2.9.4
|
||||||
resolution: "@protobuf-ts/plugin-framework@npm:2.9.4"
|
resolution: "@protobuf-ts/plugin-framework@npm:2.9.4"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -1945,7 +1944,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@protobuf-ts/plugin@npm:^2.2.3-alpha.1":
|
"@protobuf-ts/plugin@npm:^2.2.3-alpha.1, @protobuf-ts/plugin@npm:^2.9.4":
|
||||||
version: 2.9.4
|
version: 2.9.4
|
||||||
resolution: "@protobuf-ts/plugin@npm:2.9.4"
|
resolution: "@protobuf-ts/plugin@npm:2.9.4"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2959,16 +2958,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"camel-case@npm:^4.1.2":
|
|
||||||
version: 4.1.2
|
|
||||||
resolution: "camel-case@npm:4.1.2"
|
|
||||||
dependencies:
|
|
||||||
pascal-case: ^3.1.2
|
|
||||||
tslib: ^2.0.3
|
|
||||||
checksum: bcbd25cd253b3cbc69be3f535750137dbf2beb70f093bdc575f73f800acc8443d34fd52ab8f0a2413c34f1e8203139ffc88428d8863e4dfe530cfb257a379ad6
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"camelcase@npm:^5.3.1":
|
"camelcase@npm:^5.3.1":
|
||||||
version: 5.3.1
|
version: 5.3.1
|
||||||
resolution: "camelcase@npm:5.3.1"
|
resolution: "camelcase@npm:5.3.1"
|
||||||
@ -3137,13 +3126,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"commander@npm:^6.1.0":
|
|
||||||
version: 6.2.1
|
|
||||||
resolution: "commander@npm:6.2.1"
|
|
||||||
checksum: d7090410c0de6bc5c67d3ca41c41760d6d268f3c799e530aafb73b7437d1826bbf0d2a3edac33f8b57cc9887b4a986dce307fa5557e109be40eadb7c43b21742
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"compress-commons@npm:^6.0.2":
|
"compress-commons@npm:^6.0.2":
|
||||||
version: 6.0.2
|
version: 6.0.2
|
||||||
resolution: "compress-commons@npm:6.0.2"
|
resolution: "compress-commons@npm:6.0.2"
|
||||||
@ -3359,7 +3341,7 @@ __metadata:
|
|||||||
resolution: "docker-setup-docker@workspace:."
|
resolution: "docker-setup-docker@workspace:."
|
||||||
dependencies:
|
dependencies:
|
||||||
"@actions/core": ^1.11.1
|
"@actions/core": ^1.11.1
|
||||||
"@docker/actions-toolkit": ^0.47.0
|
"@docker/actions-toolkit": ^0.61.0
|
||||||
"@types/node": ^20.6.0
|
"@types/node": ^20.6.0
|
||||||
"@typescript-eslint/eslint-plugin": ^6.6.0
|
"@typescript-eslint/eslint-plugin": ^6.6.0
|
||||||
"@typescript-eslint/parser": ^6.6.0
|
"@typescript-eslint/parser": ^6.6.0
|
||||||
@ -3385,18 +3367,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"dot-object@npm:^2.1.4":
|
|
||||||
version: 2.1.5
|
|
||||||
resolution: "dot-object@npm:2.1.5"
|
|
||||||
dependencies:
|
|
||||||
commander: ^6.1.0
|
|
||||||
glob: ^7.1.6
|
|
||||||
bin:
|
|
||||||
dot-object: bin/dot-object
|
|
||||||
checksum: 3e5a681bbea32dfc1cd0b1254adc93531bd462f7474a355e981738ef37253e4bc5c9482926289ef4d3c6ef9adb0a7ed894725ed3a69aa22063343dc2a57dd764
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"duplexify@npm:^3.5.0, duplexify@npm:^3.6.0":
|
"duplexify@npm:^3.5.0, duplexify@npm:^3.6.0":
|
||||||
version: 3.7.1
|
version: 3.7.1
|
||||||
resolution: "duplexify@npm:3.7.1"
|
resolution: "duplexify@npm:3.7.1"
|
||||||
@ -4147,7 +4117,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"glob@npm:^7.1.4, glob@npm:^7.1.6":
|
"glob@npm:^7.1.4":
|
||||||
version: 7.2.3
|
version: 7.2.3
|
||||||
resolution: "glob@npm:7.2.3"
|
resolution: "glob@npm:7.2.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -5300,15 +5270,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"lower-case@npm:^2.0.2":
|
|
||||||
version: 2.0.2
|
|
||||||
resolution: "lower-case@npm:2.0.2"
|
|
||||||
dependencies:
|
|
||||||
tslib: ^2.0.3
|
|
||||||
checksum: 83a0a5f159ad7614bee8bf976b96275f3954335a84fad2696927f609ddae902802c4f3312d86668722e668bef41400254807e1d3a7f2e8c3eede79691aa1f010
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"lru-cache@npm:^10.2.0":
|
"lru-cache@npm:^10.2.0":
|
||||||
version: 10.2.2
|
version: 10.2.2
|
||||||
resolution: "lru-cache@npm:10.2.2"
|
resolution: "lru-cache@npm:10.2.2"
|
||||||
@ -5639,16 +5600,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"no-case@npm:^3.0.4":
|
|
||||||
version: 3.0.4
|
|
||||||
resolution: "no-case@npm:3.0.4"
|
|
||||||
dependencies:
|
|
||||||
lower-case: ^2.0.2
|
|
||||||
tslib: ^2.0.3
|
|
||||||
checksum: 0b2ebc113dfcf737d48dde49cfebf3ad2d82a8c3188e7100c6f375e30eafbef9e9124aadc3becef237b042fd5eb0aad2fd78669c20972d045bbe7fea8ba0be5c
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"node-fetch@npm:^2.6.7":
|
"node-fetch@npm:^2.6.7":
|
||||||
version: 2.6.9
|
version: 2.6.9
|
||||||
resolution: "node-fetch@npm:2.6.9"
|
resolution: "node-fetch@npm:2.6.9"
|
||||||
@ -5886,16 +5837,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"pascal-case@npm:^3.1.2":
|
|
||||||
version: 3.1.2
|
|
||||||
resolution: "pascal-case@npm:3.1.2"
|
|
||||||
dependencies:
|
|
||||||
no-case: ^3.0.4
|
|
||||||
tslib: ^2.0.3
|
|
||||||
checksum: ba98bfd595fc91ef3d30f4243b1aee2f6ec41c53b4546bfa3039487c367abaa182471dcfc830a1f9e1a0df00c14a370514fa2b3a1aacc68b15a460c31116873e
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"path-exists@npm:^4.0.0":
|
"path-exists@npm:^4.0.0":
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
resolution: "path-exists@npm:4.0.0"
|
resolution: "path-exists@npm:4.0.0"
|
||||||
@ -5951,13 +5892,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"path-to-regexp@npm:^6.2.0":
|
|
||||||
version: 6.3.0
|
|
||||||
resolution: "path-to-regexp@npm:6.3.0"
|
|
||||||
checksum: eca78602e6434a1b6799d511d375ec044e8d7e28f5a48aa5c28d57d8152fb52f3fc62fb1cfc5dfa2198e1f041c2a82ed14043d75740a2fe60e91b5089a153250
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"path-type@npm:^4.0.0":
|
"path-type@npm:^4.0.0":
|
||||||
version: 4.0.0
|
version: 4.0.0
|
||||||
resolution: "path-type@npm:4.0.0"
|
resolution: "path-type@npm:4.0.0"
|
||||||
@ -6022,15 +5956,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"prettier@npm:^2.5.1":
|
|
||||||
version: 2.8.8
|
|
||||||
resolution: "prettier@npm:2.8.8"
|
|
||||||
bin:
|
|
||||||
prettier: bin-prettier.js
|
|
||||||
checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"prettier@npm:^3.0.3":
|
"prettier@npm:^3.0.3":
|
||||||
version: 3.0.3
|
version: 3.0.3
|
||||||
resolution: "prettier@npm:3.0.3"
|
resolution: "prettier@npm:3.0.3"
|
||||||
@ -6359,12 +6284,12 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"semver@npm:^7.6.3":
|
"semver@npm:^7.7.1":
|
||||||
version: 7.6.3
|
version: 7.7.1
|
||||||
resolution: "semver@npm:7.6.3"
|
resolution: "semver@npm:7.7.1"
|
||||||
bin:
|
bin:
|
||||||
semver: bin/semver.js
|
semver: bin/semver.js
|
||||||
checksum: 4110ec5d015c9438f322257b1c51fe30276e5f766a3f64c09edd1d7ea7118ecbc3f379f3b69032bacf13116dc7abc4ad8ce0d7e2bd642e26b0d271b56b61a7d8
|
checksum: 586b825d36874007c9382d9e1ad8f93888d8670040add24a28e06a910aeebd673a2eb9e3bf169c6679d9245e66efb9057e0852e70d9daa6c27372aab1dda7104
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -6851,16 +6776,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"ts-poet@npm:^4.5.0":
|
|
||||||
version: 4.15.0
|
|
||||||
resolution: "ts-poet@npm:4.15.0"
|
|
||||||
dependencies:
|
|
||||||
lodash: ^4.17.15
|
|
||||||
prettier: ^2.5.1
|
|
||||||
checksum: 93490e8b5921e23ac65afdecc00b4dd53f3560d7d9c19778a3f0bd9a300ba7ca71585a989d564508313bc73e8c431413714d513ebca2d5c428f909ec36bcf6e9
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"tslib@npm:^1.10.0, tslib@npm:^1.8.1":
|
"tslib@npm:^1.10.0, tslib@npm:^1.8.1":
|
||||||
version: 1.14.1
|
version: 1.14.1
|
||||||
resolution: "tslib@npm:1.14.1"
|
resolution: "tslib@npm:1.14.1"
|
||||||
@ -6868,13 +6783,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"tslib@npm:^2.0.3, tslib@npm:^2.6.2":
|
|
||||||
version: 2.6.3
|
|
||||||
resolution: "tslib@npm:2.6.3"
|
|
||||||
checksum: 74fce0e100f1ebd95b8995fbbd0e6c91bdd8f4c35c00d4da62e285a3363aaa534de40a80db30ecfd388ed7c313c42d930ee0eaf108e8114214b180eec3dbe6f5
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"tslib@npm:^2.2.0":
|
"tslib@npm:^2.2.0":
|
||||||
version: 2.6.1
|
version: 2.6.1
|
||||||
resolution: "tslib@npm:2.6.1"
|
resolution: "tslib@npm:2.6.1"
|
||||||
@ -6889,6 +6797,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"tslib@npm:^2.6.2":
|
||||||
|
version: 2.6.3
|
||||||
|
resolution: "tslib@npm:2.6.3"
|
||||||
|
checksum: 74fce0e100f1ebd95b8995fbbd0e6c91bdd8f4c35c00d4da62e285a3363aaa534de40a80db30ecfd388ed7c313c42d930ee0eaf108e8114214b180eec3dbe6f5
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"tsutils@npm:^3.21.0":
|
"tsutils@npm:^3.21.0":
|
||||||
version: 3.21.0
|
version: 3.21.0
|
||||||
resolution: "tsutils@npm:3.21.0"
|
resolution: "tsutils@npm:3.21.0"
|
||||||
@ -6907,30 +6822,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"twirp-ts@npm:^2.5.0":
|
|
||||||
version: 2.5.0
|
|
||||||
resolution: "twirp-ts@npm:2.5.0"
|
|
||||||
dependencies:
|
|
||||||
"@protobuf-ts/plugin-framework": ^2.0.7
|
|
||||||
camel-case: ^4.1.2
|
|
||||||
dot-object: ^2.1.4
|
|
||||||
path-to-regexp: ^6.2.0
|
|
||||||
ts-poet: ^4.5.0
|
|
||||||
yaml: ^1.10.2
|
|
||||||
peerDependencies:
|
|
||||||
"@protobuf-ts/plugin": ^2.5.0
|
|
||||||
ts-proto: ^1.81.3
|
|
||||||
peerDependenciesMeta:
|
|
||||||
"@protobuf-ts/plugin":
|
|
||||||
optional: true
|
|
||||||
ts-proto:
|
|
||||||
optional: true
|
|
||||||
bin:
|
|
||||||
protoc-gen-twirp_ts: protoc-gen-twirp_ts
|
|
||||||
checksum: e7cf87d77ab4d2cd327c9d8307e82ff61afc5af56883aed5fb6ac7d57999b646945e11158be87c10f0340aeef2efde6eb896f2efd60599498f17b4f310d66e4f
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"type-check@npm:^0.4.0, type-check@npm:~0.4.0":
|
"type-check@npm:^0.4.0, type-check@npm:~0.4.0":
|
||||||
version: 0.4.0
|
version: 0.4.0
|
||||||
resolution: "type-check@npm:0.4.0"
|
resolution: "type-check@npm:0.4.0"
|
||||||
@ -7105,15 +6996,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"uuid@npm:^3.3.2":
|
|
||||||
version: 3.4.0
|
|
||||||
resolution: "uuid@npm:3.4.0"
|
|
||||||
bin:
|
|
||||||
uuid: ./bin/uuid
|
|
||||||
checksum: 58de2feed61c59060b40f8203c0e4ed7fd6f99d42534a499f1741218a1dd0c129f4aa1de797bcf822c8ea5da7e4137aa3673431a96dae729047f7aca7b27866f
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"uuid@npm:^8.3.0, uuid@npm:^8.3.2":
|
"uuid@npm:^8.3.0, uuid@npm:^8.3.2":
|
||||||
version: 8.3.2
|
version: 8.3.2
|
||||||
resolution: "uuid@npm:8.3.2"
|
resolution: "uuid@npm:8.3.2"
|
||||||
@ -7278,13 +7160,6 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"yaml@npm:^1.10.2":
|
|
||||||
version: 1.10.2
|
|
||||||
resolution: "yaml@npm:1.10.2"
|
|
||||||
checksum: ce4ada136e8a78a0b08dc10b4b900936912d15de59905b2bf415b4d33c63df1d555d23acb2a41b23cf9fb5da41c256441afca3d6509de7247daa062fd2c5ea5f
|
|
||||||
languageName: node
|
|
||||||
linkType: hard
|
|
||||||
|
|
||||||
"yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1":
|
"yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1":
|
||||||
version: 21.1.1
|
version: 21.1.1
|
||||||
resolution: "yargs-parser@npm:21.1.1"
|
resolution: "yargs-parser@npm:21.1.1"
|
||||||
|
Reference in New Issue
Block a user