mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-07-16 19:48:28 +02:00
Merge pull request #429 from crazy-max/fix-keep-state
Some checks failed
ci / main (cloud:latest) (push) Successful in 14s
ci / main (cloud:v0.11.2-desktop.2) (push) Successful in 13s
ci / main (lab:latest) (push) Successful in 14s
ci / main (latest) (push) Successful in 13s
ci / main (v0.4.1) (push) Successful in 14s
ci / multi (push) Successful in 18s
ci / error (push) Failing after 7s
ci / debug (push) Successful in 36s
ci / install (push) Successful in 13s
ci / use (false) (push) Successful in 17s
ci / main () (push) Successful in 24s
ci / driver (image=moby/buildkit:latest) (push) Successful in 15s
ci / driver (image=moby/buildkit:master
network=host
) (push) Successful in 13s
ci / docker-driver (push) Successful in 11s
ci / endpoint (push) Failing after 8s
ci / config (push) Successful in 21s
ci / config-inline (push) Successful in 17s
ci / with-qemu (, all) (push) Successful in 22s
ci / with-qemu (, arm64,riscv64,arm) (push) Successful in 19s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Successful in 19s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Successful in 34s
ci / build-ref (master) (push) Successful in 33s
ci / standalone-cmd (push) Successful in 23s
ci / standalone-action (push) Successful in 18s
ci / standalone-install-error (push) Successful in 29s
ci / append (push) Successful in 19s
ci / platforms (push) Successful in 23s
ci / docker-context (push) Successful in 11s
ci / cleanup (false) (push) Successful in 13s
ci / cleanup (true) (push) Successful in 15s
ci / k3s (v0.10.5) (push) Failing after 18s
ci / k3s (v0.11.0) (push) Failing after 14s
ci / cache-binary (false) (push) Successful in 15s
ci / cache-binary (true) (push) Successful in 13s
ci / keep-state (push) Successful in 14s
ci / use (true) (push) Successful in 11s
ci / with-qemu (v0.9.1, all) (push) Successful in 19s
ci / build-ref (refs/pull/731/head) (push) Successful in 19s
ci / build-ref (refs/tags/v0.5.1) (push) Successful in 35s
ci / keep-state-error (push) Successful in 11s
test / test (push) Failing after 14s
validate / prepare (push) Failing after 12s
validate / validate (push) Has been skipped
ci / windows-error (push) Has been cancelled
Some checks failed
ci / main (cloud:latest) (push) Successful in 14s
ci / main (cloud:v0.11.2-desktop.2) (push) Successful in 13s
ci / main (lab:latest) (push) Successful in 14s
ci / main (latest) (push) Successful in 13s
ci / main (v0.4.1) (push) Successful in 14s
ci / multi (push) Successful in 18s
ci / error (push) Failing after 7s
ci / debug (push) Successful in 36s
ci / install (push) Successful in 13s
ci / use (false) (push) Successful in 17s
ci / main () (push) Successful in 24s
ci / driver (image=moby/buildkit:latest) (push) Successful in 15s
ci / driver (image=moby/buildkit:master
network=host
) (push) Successful in 13s
ci / docker-driver (push) Successful in 11s
ci / endpoint (push) Failing after 8s
ci / config (push) Successful in 21s
ci / config-inline (push) Successful in 17s
ci / with-qemu (, all) (push) Successful in 22s
ci / with-qemu (, arm64,riscv64,arm) (push) Successful in 19s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Successful in 19s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Successful in 34s
ci / build-ref (master) (push) Successful in 33s
ci / standalone-cmd (push) Successful in 23s
ci / standalone-action (push) Successful in 18s
ci / standalone-install-error (push) Successful in 29s
ci / append (push) Successful in 19s
ci / platforms (push) Successful in 23s
ci / docker-context (push) Successful in 11s
ci / cleanup (false) (push) Successful in 13s
ci / cleanup (true) (push) Successful in 15s
ci / k3s (v0.10.5) (push) Failing after 18s
ci / k3s (v0.11.0) (push) Failing after 14s
ci / cache-binary (false) (push) Successful in 15s
ci / cache-binary (true) (push) Successful in 13s
ci / keep-state (push) Successful in 14s
ci / use (true) (push) Successful in 11s
ci / with-qemu (v0.9.1, all) (push) Successful in 19s
ci / build-ref (refs/pull/731/head) (push) Successful in 19s
ci / build-ref (refs/tags/v0.5.1) (push) Successful in 35s
ci / keep-state-error (push) Successful in 11s
test / test (push) Failing after 14s
validate / prepare (push) Failing after 12s
validate / validate (push) Has been skipped
ci / windows-error (push) Has been cancelled
fix keep-state not being respected
This commit is contained in:
commit
e468171a9d
4 changed files with 6 additions and 5 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -621,6 +621,7 @@ jobs:
|
|||
uses: ./
|
||||
with:
|
||||
name: foo
|
||||
keep-state: true
|
||||
|
||||
keep-state-error:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
2
dist/index.js
generated
vendored
2
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
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue