i accidentally merged the last PR but forgot to push my local changes to
the PR before doing it. I was testing things locally and thought I
pushed it. So adding the fix that were in my local.
I added GODEBUG=http2client=0 to fix the http client related timeouts
that were happening frequently. And also added a retry so that it won't
fail immediately.
Signed-off-by: Nizamudeen A <nia@redhat.com>
podman run --rm --security-opt label=disable \
-v ./sync.yml:/sync.yml:ro quay.io/skopeo/stable sync --all \
-e GODEBUG=http2client=0 \
- --threads 4 \
--retry-times 5 \
--src yaml \
--src-username "${DOCKER_HUB_USERNAME}" \