From c32987abc16c3d4e680202b022b83ab51091e452 Mon Sep 17 00:00:00 2001 From: lgtm <1gtm@users.noreply.github.com> Date: Fri, 7 Feb 2025 01:47:05 -0800 Subject: [PATCH] Disable image caching in setup-qemu action (#114) /cherry-pick Signed-off-by: 1gtm <1gtm@appscode.com> --- .github/workflows/ci.yml | 4 +++- .github/workflows/release.yml | 4 +++- pkg/util.go | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3dae1868..aaa27366 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,9 @@ jobs: - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 + with: + cache-image: false - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9821cd21..d625b321 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,9 @@ jobs: - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 + with: + cache-image: false - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 diff --git a/pkg/util.go b/pkg/util.go index fc3ce076..00ad3add 100644 --- a/pkg/util.go +++ b/pkg/util.go @@ -421,7 +421,6 @@ func (opt *options) execCommandOnPod(pod *corev1.Pod, containerName string, comm Stderr: &execErr, Tty: true, }) - if err != nil { return nil, fmt.Errorf("Could not execute: %v, reason: %s", err, execErr.String()) }