From 4e871d44303ee71ec5908dd99c562c7e19073854 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 | 2 ++ .github/workflows/release.yml | 2 ++ pkg/util.go | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51c21c06..a026e645 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,8 @@ jobs: - name: Set up QEMU id: qemu uses: docker/setup-qemu-action@v3 + with: + cache-image: false - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5148a26..444e9d17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,8 @@ jobs: - name: Set up QEMU id: qemu uses: docker/setup-qemu-action@v3 + with: + cache-image: false - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 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()) }