summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2021-06-16 11:01:12 -0400
committerChris Evich <cevich@redhat.com>2021-06-16 16:44:42 -0400
commit6b230bc92448de0af2a3f25ff79ffd28d3a0ee14 (patch)
treeb71c11ed950c43946cc855064d2bf46cd7248f1e /.github
parentb3f61ec38cda171caf8e8624a9ec875ba85bc20d (diff)
downloadpodman-6b230bc92448de0af2a3f25ff79ffd28d3a0ee14.tar.gz
podman-6b230bc92448de0af2a3f25ff79ffd28d3a0ee14.tar.bz2
podman-6b230bc92448de0af2a3f25ff79ffd28d3a0ee14.zip
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 <cevich@redhat.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/multi-arch-build.yaml5
1 files changed, 4 insertions, 1 deletions
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}')