From 6b230bc92448de0af2a3f25ff79ffd28d3a0ee14 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 16 Jun 2021 11:01:12 -0400 Subject: Fix multi-arch image build clone:failure A suspected recent change in docker (in github-actions Ubuntu environment) results in a error: ``` cannot clone: Operation not permitted Error: cannot re-exec process ``` Fix this by using podman to execute the container instead of docker. Signed-off-by: Chris Evich --- .github/workflows/multi-arch-build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/multi-arch-build.yaml b/.github/workflows/multi-arch-build.yaml index 2ade44ee6..9bd98078b 100644 --- a/.github/workflows/multi-arch-build.yaml +++ b/.github/workflows/multi-arch-build.yaml @@ -72,7 +72,10 @@ jobs: if: matrix.source == 'stable' id: sniff_test run: | - VERSION_OUTPUT="$(docker run localhost:5000/podman/${{ matrix.source }} \ + podman pull --tls-verify=false \ + localhost:5000/podman/${{ matrix.source }} + VERSION_OUTPUT="$(podman run \ + localhost:5000/podman/${{ matrix.source }} \ podman --storage-driver=vfs version)" echo "$VERSION_OUTPUT" VERSION=$(grep -Em1 '^Version: ' <<<"$VERSION_OUTPUT" | awk '{print $2}') -- cgit v1.2.3-54-g00ecf