Compare commits

...

51 commits

Author SHA1 Message Date
CrazyMax
714148933e
Merge pull request #190 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.69.0
Some checks failed
ci / main (ubuntu-24.04-arm, type=image,tag=27.3.1) (push) Has been cancelled
ci / main (ubuntu-24.04-arm, v27.3.1) (push) Has been cancelled
ci / main (ubuntu-latest, ) (push) Has been cancelled
ci / main (ubuntu-latest, type=image,tag=27.3.1) (push) Has been cancelled
ci / main (ubuntu-latest, v27.3.1) (push) Has been cancelled
ci / main (windows-latest, ) (push) Has been cancelled
ci / daemon-config (windows-latest) (push) Has been cancelled
ci / context (macos-15-intel) (push) Has been cancelled
ci / context (ubuntu-24.04-arm) (push) Has been cancelled
ci / context (ubuntu-latest) (push) Has been cancelled
ci / context (windows-latest) (push) Has been cancelled
ci / lima-start-args (push) Has been cancelled
ci / rootless (push) Has been cancelled
ci / build-linux (containerd-system) (push) Has been cancelled
ci / build-linux (containerd-tarball) (push) Has been cancelled
ci / build-macos (macos-15-intel) (push) Has been cancelled
ci / build-windows (push) Has been cancelled
ci / set-host (push) Has been cancelled
test / test (push) Has been cancelled
ci / tcp (macos-15-intel) (push) Has been cancelled
ci / tcp (ubuntu-24.04-arm) (push) Has been cancelled
ci / tcp (ubuntu-latest) (push) Has been cancelled
ci / tcp (windows-latest) (push) Has been cancelled
ci / undock-regctl-version (, ) (push) Has been cancelled
ci / undock-regctl-version (, v0.9.0) (push) Has been cancelled
ci / undock-regctl-version (v0.8.2, ) (push) Has been cancelled
ci / undock-regctl-version (v0.8.2, v0.9.0) (push) Has been cancelled
ci / docker-29 (macos-15-intel) (push) Has been cancelled
ci / docker-29 (ubuntu-latest) (push) Has been cancelled
ci / docker-29 (windows-latest) (push) Has been cancelled
build(deps): bump @docker/actions-toolkit from 0.68.0 to 0.69.0
2025-12-03 10:00:58 +01:00
CrazyMax
56702790ee
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-12-02 18:55:30 +01:00
dependabot[bot]
b989044537
build(deps): bump @docker/actions-toolkit from 0.68.0 to 0.69.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.68.0 to 0.69.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.68.0...v0.69.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.69.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-02 16:43:22 +00:00
CrazyMax
f2e530b12f
Merge pull request #185 from polarctos/patch-1
Some checks failed
ci / main (windows-latest, type=image,tag=27.3.1) (push) Has been cancelled
ci / main (windows-latest, v27.3.1) (push) Has been cancelled
ci / channel (ubuntu-latest) (push) Has been cancelled
ci / channel (windows-latest) (push) Has been cancelled
ci / daemon-config (macos-15-intel) (push) Has been cancelled
ci / daemon-config (ubuntu-24.04-arm) (push) Has been cancelled
ci / daemon-config (ubuntu-latest) (push) Has been cancelled
ci / daemon-config (windows-latest) (push) Has been cancelled
ci / context (macos-15-intel) (push) Has been cancelled
ci / context (ubuntu-24.04-arm) (push) Has been cancelled
ci / context (ubuntu-latest) (push) Has been cancelled
ci / context (windows-latest) (push) Has been cancelled
ci / lima-start-args (push) Has been cancelled
ci / build-linux (containerd-system) (push) Has been cancelled
ci / build-linux (containerd-tarball) (push) Has been cancelled
ci / build-macos (macos-15-intel) (push) Has been cancelled
ci / build-windows (push) Has been cancelled
ci / set-host (push) Has been cancelled
ci / rootless (push) Has been cancelled
ci / tcp (macos-15-intel) (push) Has been cancelled
ci / tcp (ubuntu-24.04-arm) (push) Has been cancelled
ci / tcp (ubuntu-latest) (push) Has been cancelled
ci / tcp (windows-latest) (push) Has been cancelled
ci / undock-regctl-version (, ) (push) Has been cancelled
ci / undock-regctl-version (, v0.9.0) (push) Has been cancelled
ci / undock-regctl-version (v0.8.2, ) (push) Has been cancelled
ci / undock-regctl-version (v0.8.2, v0.9.0) (push) Has been cancelled
ci / docker-29 (macos-15-intel) (push) Has been cancelled
ci / docker-29 (ubuntu-latest) (push) Has been cancelled
ci / docker-29 (windows-latest) (push) Has been cancelled
Add github-token input to readme
2025-11-28 16:28:47 +01:00
polarctos
db7d380101
Add github-token input to readme
Signed-off-by: polarctos <polarctos@users.noreply.github.com>
2025-11-28 15:58:12 +01:00
CrazyMax
e61617a16c
Merge pull request #189 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.68.0
Some checks failed
ci / main (ubuntu-24.04-arm, type=image,tag=27.3.1) (push) Has been cancelled
ci / main (ubuntu-24.04-arm, v27.3.1) (push) Has been cancelled
ci / main (ubuntu-latest, ) (push) Has been cancelled
ci / main (ubuntu-latest, type=image,tag=27.3.1) (push) Has been cancelled
ci / daemon-config (macos-15-intel) (push) Has been cancelled
ci / daemon-config (ubuntu-24.04-arm) (push) Has been cancelled
ci / daemon-config (ubuntu-latest) (push) Has been cancelled
ci / daemon-config (windows-latest) (push) Has been cancelled
ci / context (macos-15-intel) (push) Has been cancelled
ci / context (ubuntu-24.04-arm) (push) Has been cancelled
ci / context (ubuntu-latest) (push) Has been cancelled
ci / context (windows-latest) (push) Has been cancelled
ci / lima-start-args (push) Has been cancelled
ci / build-linux (containerd-system) (push) Has been cancelled
ci / build-linux (containerd-tarball) (push) Has been cancelled
ci / build-macos (macos-15-intel) (push) Has been cancelled
ci / build-windows (push) Has been cancelled
ci / set-host (push) Has been cancelled
ci / rootless (push) Has been cancelled
ci / tcp (macos-15-intel) (push) Has been cancelled
ci / tcp (ubuntu-24.04-arm) (push) Has been cancelled
ci / tcp (ubuntu-latest) (push) Has been cancelled
ci / tcp (windows-latest) (push) Has been cancelled
ci / undock-regctl-version (, ) (push) Has been cancelled
ci / undock-regctl-version (, v0.9.0) (push) Has been cancelled
ci / undock-regctl-version (v0.8.2, ) (push) Has been cancelled
ci / undock-regctl-version (v0.8.2, v0.9.0) (push) Has been cancelled
ci / docker-29 (macos-15-intel) (push) Has been cancelled
ci / docker-29 (ubuntu-latest) (push) Has been cancelled
ci / docker-29 (windows-latest) (push) Has been cancelled
build(deps): bump @docker/actions-toolkit from 0.65.0 to 0.68.0
2025-11-27 12:31:47 +01:00
CrazyMax
4d3a27b3a8
Merge pull request #187 from docker/dependabot/github_actions/actions/checkout-6
build(deps): bump actions/checkout from 5 to 6
2025-11-27 12:10:26 +01:00
CrazyMax
84eefba60b
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-11-27 11:35:38 +01:00
dependabot[bot]
71cca025e9
build(deps): bump @docker/actions-toolkit from 0.65.0 to 0.68.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.65.0 to 0.68.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.65.0...v0.68.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.68.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-27 10:31:46 +00:00
dependabot[bot]
beedf3fcfc
build(deps): bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 10:07:13 +00:00
CrazyMax
efe9e3891a
Merge pull request #182 from crazy-max/releases-gh-token
set github token to list releases and download assets
2025-11-04 11:46:09 +01:00
Paweł Gronowski
78e4df2bef
Merge pull request #180 from crazy-max/macos-15
ci: update to macos-15-intel
2025-11-04 10:57:59 +01:00
CrazyMax
9321b687cf
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-11-03 23:28:53 +01:00
CrazyMax
276a2f38a4
set github token to list releases and download assets
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-11-03 23:28:52 +01:00
CrazyMax
4160483120
ci: update to macos-15-intel
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-11-03 16:31:39 +01:00
CrazyMax
b71d5ee00d
Merge pull request #179 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.65.0
build(deps): bump @docker/actions-toolkit from 0.64.0 to 0.65.0
2025-11-03 16:31:26 +01:00
CrazyMax
d3f310eaa3
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-11-03 16:20:03 +01:00
dependabot[bot]
c8283cc2af
build(deps): bump @docker/actions-toolkit from 0.64.0 to 0.65.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.64.0 to 0.65.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.64.0...v0.65.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.65.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 14:01:14 +00:00
CrazyMax
3fb92d6d9c
Merge pull request #177 from docker/dependabot/npm_and_yarn/npm_and_yarn-9eb7991974
build(deps): bump the npm_and_yarn group across 1 directory with 2 updates
2025-10-16 14:18:45 +02:00
CrazyMax
138843162e
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-10-16 14:17:13 +02:00
dependabot[bot]
4d8e316444
build(deps): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the / directory: [brace-expansion](https://github.com/juliangruber/brace-expansion) and [undici](https://github.com/nodejs/undici).


Updates `brace-expansion` from 1.1.11 to 1.1.12
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

Updates `undici` from 5.28.4 to 5.29.0
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.29.0)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: undici
  dependency-version: 5.29.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-16 12:10:45 +00:00
CrazyMax
13bc64bf22
Merge pull request #175 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.64.0
build(deps): bump @docker/actions-toolkit from 0.62.1 to 0.64.0
2025-10-16 14:07:57 +02:00
CrazyMax
9b44f456e3
ci: test docker 29 release
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-10-16 12:42:50 +02:00
CrazyMax
db9988d080
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-10-16 12:37:54 +02:00
dependabot[bot]
80ba8d8f5f
build(deps): bump @docker/actions-toolkit from 0.62.1 to 0.64.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.62.1 to 0.64.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.62.1...v0.64.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.64.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-16 10:35:32 +00:00
CrazyMax
48f9dddab2
Merge pull request #173 from docker/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-10-16 12:33:51 +02:00
dependabot[bot]
746efa2ccb
build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 18:02:20 +00:00
CrazyMax
46897a6289
Merge pull request #167 from docker/dependabot/npm_and_yarn/form-data-2.5.5
build(deps): bump form-data from 2.5.1 to 2.5.5
2025-08-06 22:04:03 +02:00
CrazyMax
74ac62f5d7
Merge pull request #168 from ArunKumarT1995/feature/rundirinput
Add input for runtime basedir
2025-08-06 22:03:44 +02:00
CrazyMax
a4da7e5ab9
readme: fix inputs table
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-06 21:43:43 +02:00
CrazyMax
8f22df35b2
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-06 21:43:42 +02:00
CrazyMax
d2d8fc9bf5
move runtime-basedir default to context
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-06 21:43:42 +02:00
ArunKumarT1995
de8d0f39ec
add runtime-basedir input
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-06 21:36:25 +02:00
dependabot[bot]
0d6d6d60ff
build(deps): bump form-data from 2.5.1 to 2.5.5
Bumps [form-data](https://github.com/form-data/form-data) from 2.5.1 to 2.5.5.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/v2.5.5/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v2.5.1...v2.5.5)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 2.5.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 23:11:51 +00:00
CrazyMax
29412e2cf6
Merge pull request #165 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.62.1
build(deps): bump @docker/actions-toolkit from 0.61.0 to 0.62.1
2025-06-16 14:57:58 +02:00
CrazyMax
59de7d6072
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-16 14:43:08 +02:00
CrazyMax
7fa26c3c14
update since docker install constructor changes
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-16 14:40:11 +02:00
dependabot[bot]
3072e160e1
build(deps): bump @docker/actions-toolkit from 0.61.0 to 0.62.1
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.61.0 to 0.62.1.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.61.0...v0.62.1)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.62.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 10:32:21 +00:00
CrazyMax
efe6ba76e3
Merge pull request #163 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.61.0
build(deps): bump @docker/actions-toolkit from 0.57.0 to 0.61.0
2025-05-13 13:57:16 +02:00
CrazyMax
1211ebfa1f
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-05-12 14:12:41 +02:00
CrazyMax
63f2e57f85
setup regctl and undock
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-05-12 14:06:55 +02:00
dependabot[bot]
b7bb1d4426
build(deps): bump @docker/actions-toolkit from 0.57.0 to 0.61.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.57.0 to 0.61.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.57.0...v0.61.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.61.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 09:33:30 +00:00
CrazyMax
7db77378a9
Merge pull request #162 from crazy-max/pr-assign-author
pr-assign-author workflow
2025-04-23 16:09:53 +02:00
CrazyMax
2d89c571bd
pr-assign-author workflow 2025-04-23 14:20:59 +02:00
CrazyMax
f27261ca18
Merge pull request #160 from crazy-max/fix-codecov
ci: fix missing source for codecov
2025-04-22 14:53:31 +02:00
CrazyMax
a39f563e16
ci: fix missing source for codecov 2025-04-22 14:36:35 +02:00
CrazyMax
54c51f4ee8
Merge pull request #156 from crazy-max/ci-test-latest
ci: test latest docker version
2025-03-18 12:23:39 +01:00
CrazyMax
364f5e215c
ci: test latest docker version 2025-03-18 11:49:03 +01:00
CrazyMax
b60f85385d
Merge pull request #154 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.57.0
build(deps): bump @docker/actions-toolkit from 0.56.0 to 0.57.0
2025-03-12 10:10:05 +01:00
CrazyMax
643c69a8cb
chore: update generated content 2025-03-12 09:56:06 +01:00
dependabot[bot]
5c724e91b0
build(deps): bump @docker/actions-toolkit from 0.56.0 to 0.57.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.56.0 to 0.57.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.56.0...v0.57.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-11 11:36:06 +00:00
14 changed files with 807 additions and 250 deletions

View file

@ -29,16 +29,16 @@ jobs:
os:
- ubuntu-latest
- ubuntu-24.04-arm
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
- macos-13
- macos-15-intel
- windows-latest
version:
- ""
- v27.3.1
- type=image,tag=27.3.1
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -53,13 +53,12 @@ jobs:
os:
- ubuntu-latest
- ubuntu-24.04-arm
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
- macos-13
- macos-15-intel
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -75,13 +74,12 @@ jobs:
os:
- ubuntu-latest
- ubuntu-24.04-arm
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
- macos-13
- macos-15-intel
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -103,13 +101,12 @@ jobs:
os:
- ubuntu-latest
- ubuntu-24.04-arm
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
- macos-13
- macos-15-intel
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -122,12 +119,11 @@ jobs:
docker context inspect foo
lima-start-args:
#runs-on: macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
runs-on: macos-13
runs-on: macos-15-intel
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -147,7 +143,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Uninstall containerd
if: matrix.containerd == 'containerd-tarball'
@ -187,12 +183,11 @@ jobs:
fail-fast: false
matrix:
os:
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
- macos-13
- macos-15-intel
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -226,7 +221,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -247,7 +242,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -264,7 +259,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
@ -284,13 +279,12 @@ jobs:
os:
- ubuntu-latest
- ubuntu-24.04-arm
#- macos-14 # no virt: https://github.com/docker/actions-toolkit/issues/317
- macos-13
- macos-15-intel
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Set up Docker
id: setup_docker
@ -304,3 +298,47 @@ jobs:
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@v6
-
name: Set up Docker
uses: ./
with:
version: type=image
env:
UNDOCK_VERSION: ${{ matrix.undock_version }}
REGCTL_VERSION: ${{ matrix.regctl_version }}
docker-29:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-15-intel
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v6
-
name: Set up Docker
uses: ./
with:
version: v29.0.0-rc.1
channel: test

17
.github/workflows/pr-assign-author.yml vendored Normal file
View 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

View file

@ -15,7 +15,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: Publish
uses: actions/publish-immutable-action@v0.0.4

View file

@ -15,6 +15,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v6
-
name: Test
uses: docker/bake-action@v6
@ -24,5 +27,6 @@ jobs:
name: Upload coverage
uses: codecov/codecov-action@v5
with:
source: .
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}

View file

@ -19,7 +19,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
-
name: List targets
id: generate

View file

@ -113,15 +113,17 @@ jobs:
The following inputs can be used as `step.with` keys
| Name | Type | Default | Description |
|-----------------|--------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------|
| `version` | String | `latest` | Docker version to use. See [inputs.version](#inputs.version). |
| `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) |
| `tcp-port` | Number | | TCP port to expose the Docker API locally |
| `context` | String | `setup-docker-action` | Docker context name. |
| `set-host` | Bool | `false` | Set `DOCKER_HOST` environment variable to docker socket path. |
| `rootless` | Bool | `false` | Start daemon in rootless mode |
| Name | Type | Default | Description |
|-------------------|--------|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `version` | String | `latest` | Docker version to use. See [inputs.version](#inputs.version). |
| `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) |
| `tcp-port` | Number | | TCP port to expose the Docker API locally |
| `context` | String | `setup-docker-action` | Docker context name. |
| `set-host` | Bool | `false` | Set `DOCKER_HOST` environment variable to docker socket path. |
| `rootless` | Bool | `false` | Start daemon in rootless mode |
| `runtime-basedir` | String | `<home>/setup-docker-action` | Docker runtime base directory |
| `github-token` | String | `${{ github.token }}` | Optional GitHub Token used to get releases and download assets to avoid rate limitation. On GitHub Enterprise, you might need to set a PAT for `github.com`. |
### inputs.version

View file

@ -1,4 +1,6 @@
import {beforeEach, describe, expect, test} from '@jest/globals';
import * as os from 'os';
import * as path from 'path';
import * as context from '../src/context';
@ -30,7 +32,9 @@ describe('getInputs', () => {
context: '',
daemonConfig: '',
rootless: false,
setHost: false
setHost: false,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -52,7 +56,9 @@ describe('getInputs', () => {
context: 'foo',
daemonConfig: `{"debug":true,"features":{"containerd-snapshotter":true}}`,
rootless: false,
setHost: false
setHost: false,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -70,7 +76,9 @@ describe('getInputs', () => {
context: '',
daemonConfig: '',
rootless: false,
setHost: true
setHost: true,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -90,7 +98,9 @@ describe('getInputs', () => {
context: 'foo',
daemonConfig: `{"debug":true,"features":{"containerd-snapshotter":true}}`,
rootless: false,
setHost: false
setHost: false,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -108,7 +118,9 @@ describe('getInputs', () => {
context: '',
daemonConfig: '',
rootless: false,
setHost: false
setHost: false,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -128,6 +140,8 @@ describe('getInputs', () => {
context: '',
daemonConfig: '',
rootless: false,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -147,6 +161,8 @@ describe('getInputs', () => {
context: '',
daemonConfig: '',
rootless: false,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -165,6 +181,8 @@ describe('getInputs', () => {
context: '',
daemonConfig: '',
rootless: false,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -183,6 +201,8 @@ describe('getInputs', () => {
context: '',
daemonConfig: '',
rootless: true,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
[
@ -203,7 +223,9 @@ describe('getInputs', () => {
daemonConfig: '',
tcpPort: 2378,
rootless: false,
setHost: false
setHost: false,
runtimeBasedir: path.join(os.homedir(), `setup-docker-action`),
githubToken: '',
} as context.Inputs
],
])(

View file

@ -31,6 +31,13 @@ inputs:
description: 'Enable Docker rootless mode'
default: 'false'
required: false
runtime-basedir:
description: 'Docker runtime base directory'
required: false
github-token:
description: "GitHub Token used to get releases and download assets"
default: ${{ github.token }}
required: false
outputs:
sock:

30
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -27,7 +27,7 @@
"packageManager": "yarn@3.6.3",
"dependencies": {
"@actions/core": "^1.11.1",
"@docker/actions-toolkit": "^0.56.0"
"@docker/actions-toolkit": "^0.69.0"
},
"devDependencies": {
"@types/node": "^20.6.0",

View file

@ -1,3 +1,5 @@
import os from 'os';
import path from 'path';
import * as core from '@actions/core';
import {parse} from 'csv-parse/sync';
@ -11,6 +13,8 @@ export interface Inputs {
context: string;
setHost: boolean;
rootless: boolean;
runtimeBasedir: string;
githubToken: string;
}
export function getInputs(): Inputs {
@ -27,7 +31,9 @@ export function getInputs(): Inputs {
tcpPort: Util.getInputNumber('tcp-port'),
context: core.getInput('context'),
setHost: core.getBooleanInput('set-host'),
rootless: core.getBooleanInput('rootless')
rootless: core.getBooleanInput('rootless'),
runtimeBasedir: core.getInput('runtime-basedir') || path.join(os.homedir(), `setup-docker-action`),
githubToken: core.getInput('github-token')
};
}

View file

@ -1,24 +1,51 @@
import * as crypto from 'crypto';
import os from 'os';
import path from 'path';
import * as core from '@actions/core';
import * as actionsToolkit from '@docker/actions-toolkit';
import {Install} from '@docker/actions-toolkit/lib/docker/install';
import {Docker} from '@docker/actions-toolkit/lib/docker/docker';
import {Install as RegclientInstall} from '@docker/actions-toolkit/lib/regclient/install';
import {Install as UndockInstall} from '@docker/actions-toolkit/lib/undock/install';
import * as context from './context';
import * as stateHelper from './state-helper';
const regctlDefaultVersion = 'v0.8.3';
const undockDefaultVersion = 'v0.10.0';
actionsToolkit.run(
// main
async () => {
const input: context.Inputs = context.getInputs();
const runDir = path.join(os.homedir(), `setup-docker-action-${crypto.randomUUID().slice(0, 8)}`);
const runDir = path.join(input.runtimeBasedir, `run-${crypto.randomUUID().slice(0, 8)}`);
if (input.context == 'default') {
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({githubToken: input.githubToken});
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({githubToken: input.githubToken});
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) {
@ -32,7 +59,8 @@ actionsToolkit.run(
rootless: input.rootless,
contextName: input.context || 'setup-docker-action',
daemonConfig: input.daemonConfig,
localTCPPort: tcpPort
localTCPPort: tcpPort,
githubToken: input.githubToken
});
let toolDir;
if (!(await Docker.isAvailable()) || input.source) {

807
yarn.lock

File diff suppressed because it is too large Load diff