Compare commits

...

23 Commits

Author SHA1 Message Date
CrazyMax
af1b253b8d Merge pull request #440 from crazy-max/k3s-build
Some checks failed
test / test (push) Failing after 5s
validate / prepare (push) Failing after 4s
validate / validate (push) Has been skipped
ci / main () (push) Successful in 16s
ci / main (cloud:latest) (push) Successful in 15s
ci / main (cloud:v0.11.2-desktop.2) (push) Successful in 14s
ci / main (lab:latest) (push) Successful in 15s
ci / main (latest) (push) Successful in 15s
ci / main (v0.4.1) (push) Successful in 15s
ci / multi (push) Successful in 19s
ci / error (push) Failing after 4s
ci / debug (push) Successful in 11m18s
ci / install (push) Successful in 14s
ci / use (false) (push) Successful in 14s
ci / use (true) (push) Successful in 14s
ci / driver (image=moby/buildkit:latest) (push) Successful in 25s
ci / driver (image=moby/buildkit:master network=host ) (push) Successful in 22s
ci / docker-driver (push) Successful in 10s
ci / endpoint (push) Failing after 26s
ci / config (push) Successful in 20s
ci / config-inline (push) Successful in 20s
ci / with-qemu (, all) (push) Successful in 9m38s
ci / with-qemu (, arm64,riscv64,arm) (push) Successful in 9m41s
ci / with-qemu (v0.9.1, all) (push) Successful in 19m7s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Successful in 9m41s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Successful in 12m2s
ci / build-ref (master) (push) Successful in 11m3s
ci / build-ref (refs/pull/731/head) (push) Successful in 10m5s
ci / build-ref (refs/tags/v0.5.1) (push) Successful in 10m42s
ci / standalone-cmd (push) Successful in 18s
ci / standalone-action (push) Successful in 21s
ci / standalone-install-error (push) Successful in 14s
ci / append (push) Successful in 14s
ci / platforms (push) Successful in 9m42s
ci / docker-context (push) Successful in 10s
ci / cleanup (false) (push) Successful in 13s
ci / cleanup (true) (push) Successful in 14s
ci / k3s (latest) (push) Failing after 5s
ci / k3s (v0.10.5) (push) Failing after 4s
ci / k3s (v0.11.0) (push) Failing after 5s
ci / cache-binary (false) (push) Successful in 15s
ci / cache-binary (true) (push) Successful in 14s
ci / keep-state (push) Successful in 17s
ci / keep-state-error (push) Successful in 10s
ci / windows-error (push) Has been cancelled
ci: k3s test with latest buildx
2025-08-11 16:13:23 +02:00
CrazyMax
3c6ab92b04 ci: k3s test with latest buildx
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-08 10:08:33 +02:00
CrazyMax
2c8bcdab54 Merge pull request #439 from crazy-max/fix-yarn-cfg
Some checks failed
test / test (push) Failing after 22s
validate / prepare (push) Failing after 21s
validate / validate (push) Has been skipped
ci / main () (push) Successful in 16s
ci / main (cloud:latest) (push) Successful in 16s
ci / main (cloud:v0.11.2-desktop.2) (push) Successful in 15s
ci / main (lab:latest) (push) Successful in 14s
ci / main (latest) (push) Successful in 15s
ci / main (v0.4.1) (push) Successful in 15s
ci / multi (push) Successful in 19s
ci / error (push) Failing after 5s
ci / debug (push) Failing after 5s
ci / install (push) Successful in 14s
ci / use (false) (push) Successful in 14s
ci / use (true) (push) Successful in 14s
ci / driver (image=moby/buildkit:latest) (push) Successful in 15s
ci / driver (image=moby/buildkit:master network=host ) (push) Successful in 24s
ci / docker-driver (push) Successful in 11s
ci / endpoint (push) Failing after 11s
ci / config (push) Failing after 5s
ci / config-inline (push) Failing after 5s
ci / with-qemu (, all) (push) Failing after 5s
ci / with-qemu (, arm64,riscv64,arm) (push) Failing after 5s
ci / with-qemu (v0.9.1, all) (push) Failing after 5s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Failing after 5s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Failing after 5s
ci / build-ref (master) (push) Failing after 5s
ci / build-ref (refs/pull/731/head) (push) Failing after 5s
ci / build-ref (refs/tags/v0.5.1) (push) Failing after 5s
ci / standalone-cmd (push) Successful in 18s
ci / standalone-action (push) Failing after 5s
ci / standalone-install-error (push) Successful in 15s
ci / append (push) Successful in 15s
ci / platforms (push) Failing after 5s
ci / docker-context (push) Successful in 12s
ci / cleanup (false) (push) Successful in 14s
ci / cleanup (true) (push) Successful in 15s
ci / k3s (v0.10.5) (push) Failing after 5s
ci / k3s (v0.11.0) (push) Failing after 6s
ci / cache-binary (false) (push) Successful in 15s
ci / cache-binary (true) (push) Successful in 16s
ci / keep-state (push) Successful in 17s
ci / keep-state-error (push) Successful in 11s
ci / windows-error (push) Has been cancelled
fix yarn config
2025-08-07 10:39:23 +02:00
CrazyMax
1051acaba6 fix yarn config
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-07 10:23:38 +02:00
CrazyMax
e8cd182ec7 Merge pull request #438 from crazy-max/update-yarn
update yarn to 4.9.2
2025-08-07 10:22:33 +02:00
CrazyMax
8c5c87276d update yarn to 4.9.2
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-07 10:20:28 +02:00
CrazyMax
90fa7ac870 Merge pull request #437 from crazy-max/update-dev-deps
update dev dependencies
2025-08-07 10:16:55 +02:00
CrazyMax
7ebadadf6b chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-07 10:15:01 +02:00
CrazyMax
ee3eb2f3a4 update dev dependencies
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-07 10:10:07 +02:00
CrazyMax
c65d441f38 Merge pull request #436 from docker/dependabot/npm_and_yarn/brace-expansion-1.1.12
Some checks failed
test / test (push) Failing after 5s
validate / prepare (push) Failing after 20s
validate / validate (push) Has been skipped
ci / install (push) Successful in 53s
ci / main (cloud:latest) (push) Failing after 38s
ci / main (cloud:v0.11.2-desktop.2) (push) Successful in 57s
ci / error (push) Failing after 25s
ci / main () (push) Successful in 54s
ci / main (lab:latest) (push) Failing after 46s
ci / main (latest) (push) Failing after 44s
ci / main (v0.4.1) (push) Successful in 58s
ci / debug (push) Failing after 21s
ci / use (true) (push) Successful in 52s
ci / driver (image=moby/buildkit:master network=host ) (push) Successful in 51s
ci / docker-driver (push) Successful in 32s
ci / with-qemu (, all) (push) Failing after 20s
ci / with-qemu (, arm64,riscv64,arm) (push) Failing after 20s
ci / use (false) (push) Successful in 52s
ci / driver (image=moby/buildkit:latest) (push) Successful in 52s
ci / endpoint (push) Failing after 47s
ci / config (push) Failing after 20s
ci / config-inline (push) Failing after 21s
ci / with-qemu (v0.9.1, all) (push) Failing after 21s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Failing after 20s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Failing after 20s
ci / build-ref (master) (push) Failing after 20s
ci / build-ref (refs/pull/731/head) (push) Failing after 20s
ci / build-ref (refs/tags/v0.5.1) (push) Failing after 21s
ci / multi (push) Failing after 10m42s
ci / standalone-cmd (push) Successful in 1m18s
ci / standalone-action (push) Failing after 21s
ci / standalone-install-error (push) Successful in 56s
ci / append (push) Successful in 54s
ci / platforms (push) Failing after 21s
ci / docker-context (push) Successful in 32s
ci / cleanup (false) (push) Successful in 50s
ci / cleanup (true) (push) Successful in 50s
ci / k3s (v0.10.5) (push) Failing after 20s
ci / k3s (v0.11.0) (push) Failing after 21s
ci / cache-binary (false) (push) Successful in 57s
ci / cache-binary (true) (push) Successful in 56s
ci / keep-state (push) Successful in 54s
ci / keep-state-error (push) Successful in 30s
ci / windows-error (push) Has been cancelled
build(deps): bump brace-expansion from 1.1.11 to 1.1.12
2025-08-06 18:16:03 +02:00
CrazyMax
da183f8ca3 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-06 18:10:56 +02:00
dependabot[bot]
f7a6c723e1 build(deps): bump brace-expansion from 1.1.11 to 1.1.12
Bumps [brace-expansion](https://github.com/juliangruber/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)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 15:41:35 +00:00
CrazyMax
8424fa0070 Merge pull request #435 from docker/dependabot/npm_and_yarn/undici-5.29.0
build(deps): bump undici from 5.28.4 to 5.29.0
2025-08-06 17:39:23 +02:00
CrazyMax
c52693d481 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-06 17:36:57 +02:00
dependabot[bot]
5efa6e34fd build(deps): bump undici from 5.28.4 to 5.29.0
Bumps [undici](https://github.com/nodejs/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: undici
  dependency-version: 5.29.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 15:16:14 +00:00
CrazyMax
774224adf6 Merge pull request #434 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.63.0
build(deps): bump @docker/actions-toolkit from 0.62.1 to 0.63.0
2025-08-06 14:53:17 +02:00
CrazyMax
5d221e8956 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-06 14:49:38 +02:00
dependabot[bot]
68163b97ca build(deps): bump @docker/actions-toolkit from 0.62.1 to 0.63.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.62.1 to 0.63.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.62.1...v0.63.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 12:11:23 +00:00
CrazyMax
ae7d6893e8 Merge pull request #432 from docker/dependabot/npm_and_yarn/form-data-2.5.5
Some checks failed
test / test (push) Failing after 5s
validate / prepare (push) Failing after 5s
validate / validate (push) Has been skipped
ci / main (cloud:latest) (push) Failing after 50s
ci / main () (push) Successful in 53s
ci / main (cloud:v0.11.2-desktop.2) (push) Failing after 41s
ci / main (lab:latest) (push) Successful in 57s
ci / main (latest) (push) Failing after 46s
ci / main (v0.4.1) (push) Successful in 58s
ci / multi (push) Failing after 43s
ci / debug (push) Failing after 6s
ci / error (push) Failing after 21s
ci / install (push) Failing after 44s
ci / use (false) (push) Successful in 53s
ci / use (true) (push) Failing after 52s
ci / driver (image=moby/buildkit:latest) (push) Successful in 53s
ci / driver (image=moby/buildkit:master network=host ) (push) Failing after 44s
ci / docker-driver (push) Successful in 33s
ci / config (push) Failing after 21s
ci / config-inline (push) Failing after 21s
ci / endpoint (push) Failing after 56s
ci / with-qemu (, arm64,riscv64,arm) (push) Failing after 5s
ci / with-qemu (, all) (push) Failing after 21s
ci / with-qemu (v0.9.1, all) (push) Failing after 5s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Failing after 6s
ci / build-ref (master) (push) Failing after 5s
ci / build-ref (refs/pull/731/head) (push) Failing after 5s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Failing after 21s
ci / build-ref (refs/tags/v0.5.1) (push) Failing after 5s
ci / standalone-action (push) Failing after 5s
ci / standalone-install-error (push) Failing after 43s
ci / standalone-cmd (push) Successful in 1m17s
ci / platforms (push) Failing after 21s
ci / docker-context (push) Successful in 31s
ci / cleanup (false) (push) Successful in 51s
ci / cleanup (true) (push) Successful in 52s
ci / k3s (v0.10.5) (push) Failing after 21s
ci / k3s (v0.11.0) (push) Failing after 21s
ci / cache-binary (false) (push) Successful in 56s
ci / cache-binary (true) (push) Successful in 56s
ci / keep-state (push) Successful in 55s
ci / keep-state-error (push) Successful in 31s
ci / append (push) Failing after 11m11s
ci / windows-error (push) Has been cancelled
build(deps): bump form-data from 2.5.1 to 2.5.5
2025-08-05 18:32:27 +02:00
dependabot[bot]
ac3a803dd3 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:14:41 +00:00
CrazyMax
e468171a9d Merge pull request #429 from crazy-max/fix-keep-state
Some checks failed
test / test (push) Failing after 5s
validate / prepare (push) Failing after 5s
validate / validate (push) Has been skipped
ci / main () (push) Successful in 52s
ci / main (cloud:latest) (push) Successful in 58s
ci / main (cloud:v0.11.2-desktop.2) (push) Successful in 57s
ci / main (lab:latest) (push) Successful in 56s
ci / main (latest) (push) Successful in 58s
ci / main (v0.4.1) (push) Successful in 58s
ci / multi (push) Successful in 1m15s
ci / error (push) Failing after 21s
ci / debug (push) Failing after 20s
ci / install (push) Successful in 55s
ci / use (false) (push) Successful in 52s
ci / use (true) (push) Successful in 53s
ci / driver (image=moby/buildkit:latest) (push) Successful in 1m35s
ci / driver (image=moby/buildkit:master network=host ) (push) Successful in 1m32s
ci / docker-driver (push) Successful in 33s
ci / endpoint (push) Failing after 2m4s
ci / config (push) Failing after 20s
ci / config-inline (push) Failing after 21s
ci / with-qemu (, all) (push) Failing after 21s
ci / with-qemu (, arm64,riscv64,arm) (push) Failing after 20s
ci / with-qemu (v0.9.1, all) (push) Failing after 20s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Failing after 21s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Failing after 21s
ci / build-ref (master) (push) Failing after 20s
ci / build-ref (refs/pull/731/head) (push) Failing after 20s
ci / build-ref (refs/tags/v0.5.1) (push) Failing after 21s
ci / standalone-cmd (push) Successful in 1m18s
ci / standalone-action (push) Failing after 21s
ci / standalone-install-error (push) Successful in 58s
ci / append (push) Successful in 55s
ci / platforms (push) Failing after 20s
ci / docker-context (push) Successful in 33s
ci / cleanup (false) (push) Successful in 50s
ci / cleanup (true) (push) Successful in 51s
ci / k3s (v0.10.5) (push) Failing after 20s
ci / k3s (v0.11.0) (push) Failing after 21s
ci / cache-binary (false) (push) Successful in 57s
ci / cache-binary (true) (push) Successful in 56s
ci / keep-state (push) Successful in 54s
ci / keep-state-error (push) Successful in 31s
ci / windows-error (push) Has been cancelled
fix keep-state not being respected
2025-06-18 10:37:30 +02:00
CrazyMax
a3e7502fd0 chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-17 17:34:10 +02:00
CrazyMax
b145473295 fix keep-state not being respected
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-17 17:34:10 +02:00
9 changed files with 2459 additions and 2734 deletions

View File

@@ -522,6 +522,7 @@ jobs:
fail-fast: false
matrix:
version:
- latest
- v0.11.0
- v0.10.5
steps:
@@ -530,7 +531,7 @@ jobs:
uses: actions/checkout@v4
-
name: Install k3s
uses: crazy-max/.github/.github/actions/install-k3s@f5cb4a109b7a3b466a2ac293ef4bb13f1571acd7
uses: crazy-max/.github/.github/actions/install-k3s@a94383ec9e125b23907fb6fcebf7ff87964595e5
-
name: Set up Docker Buildx
id: buildx
@@ -621,6 +622,7 @@ jobs:
uses: ./
with:
name: foo
keep-state: true
keep-state-error:
runs-on: ubuntu-latest

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,9 @@
# https://yarnpkg.com/configuration/yarnrc
compressionLevel: mixed
enableGlobalCache: false
enableHardenedMode: true
logFilters:
- code: YN0013
level: discard
@@ -5,9 +11,7 @@ logFilters:
level: discard
- code: YN0076
level: discard
- code: YN0086
level: discard
nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

42
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

2
dist/sourcemap-register.js generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -23,27 +23,27 @@
],
"author": "Docker Inc.",
"license": "Apache-2.0",
"packageManager": "yarn@3.6.3",
"packageManager": "yarn@4.9.2",
"dependencies": {
"@actions/core": "^1.11.1",
"@docker/actions-toolkit": "^0.62.1",
"@docker/actions-toolkit": "^0.63.0",
"js-yaml": "^4.1.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.12.12",
"@types/node": "^20.19.9",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-prettier": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vercel/ncc": "^0.38.3",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.2",
"eslint-plugin-jest": "^28.14.0",
"eslint-plugin-prettier": "^5.5.4",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"prettier": "^3.6.2",
"ts-jest": "^29.4.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
"typescript": "^5.9.2"
}
}

View File

@@ -9,7 +9,7 @@ export const certsDir = process.env['STATE_certsDir'] || '';
export const tmpDockerContext = process.env['STATE_tmpDockerContext'] || '';
export const cleanup = /true/i.test(process.env['STATE_cleanup'] || '');
export const buildxIsDefaultBuilder = /true/i.test(process.env['STATE_buildxIsDefaultBuilder'] || '');
export const keepState = !!process.env['STATE_keepState'];
export const keepState = /true/i.test(process.env['STATE_keepState'] || '');
export function setDebug(debug: string) {
core.saveState('isDebug', debug);
@@ -47,6 +47,6 @@ export function setBuildxIsDefaultBuilder(buildxIsDefaultBuilder: boolean) {
core.saveState('buildxIsDefaultBuilder', buildxIsDefaultBuilder);
}
export function setKeepState(retain: boolean) {
core.saveState('keepState', retain);
export function setKeepState(keepState: boolean) {
core.saveState('keepState', keepState);
}

4558
yarn.lock

File diff suppressed because it is too large Load Diff