Skip to content

Commit fad79b3

Browse files
authored
Disable image caching in setup-qemu action (#210)
/cherry-pick Signed-off-by: 1gtm <[email protected]>
1 parent b758aab commit fad79b3

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- name: Set up QEMU
2727
id: qemu
2828
uses: docker/setup-qemu-action@v3
29+
with:
30+
cache-image: false
2931

3032
- name: Set up Docker Buildx
3133
uses: docker/setup-buildx-action@v3

pkg/copy.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ func NewCmdCopy(clientGetter genericclioptions.RESTClientGetter) *cobra.Command
3838
}
3939

4040
srcNamespace, _, err = clientGetter.ToRawKubeConfigLoader().Namespace()
41-
4241
if err != nil {
4342
return err
4443
}

pkg/util.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ func execCommandOnPod(kubeClient *kubernetes.Clientset, config *rest.Config, pod
137137
Stderr: &execErr,
138138
Tty: true,
139139
})
140-
141140
if err != nil {
142141
return nil, fmt.Errorf("could not execute: %v, reason: %s", err, execErr.String())
143142
}

0 commit comments

Comments
 (0)