From dbb5d8f755a1c732ebd59cbc0e83f70f4f42909a Mon Sep 17 00:00:00 2001 From: scito Date: Wed, 25 Jan 2023 23:46:22 +0100 Subject: [PATCH] workaround ghcr.io failed to copy failed to copy: io: read/write on closed pipe - use DockerHub instead of dhcr.io - ref: https://github.com/containerd/containerd/issues/7972 --- .github/workflows/ci_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 5786ed0..c21a873 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -136,7 +136,7 @@ jobs: # Note: tags has to be all lower-case pull: true tags: | - ghcr.io/scito/extract_otp_secrets:buster + scit0/extract_otp_secrets:buster push: true # # https://stackoverflow.com/a/61155718/1663871 @@ -153,7 +153,7 @@ jobs: - name: Run Pyinstaller in container run: | # TODO use local docker image https://stackoverflow.com/a/61155718/1663871 - docker run --pull always --entrypoint /bin/bash --rm -v "$(pwd)":/files -w /files ghcr.io/scito/extract_otp_secrets:buster -c 'apt-get update && apt-get -y install binutils && pip install -U -r /files/requirements.txt && pip install pyinstaller && pyinstaller -y --add-data /usr/local/__yolo_v3_qr_detector/:__yolo_v3_qr_detector/ --onefile --name extract_otp_secrets_linux_x86_64 --distpath /files/dist/ /files/src/extract_otp_secrets.py' + docker run --pull always --entrypoint /bin/bash --rm -v "$(pwd)":/files -w /files scit0/extract_otp_secrets:buster -c 'apt-get update && apt-get -y install binutils && pip install -U -r /files/requirements.txt && pip install pyinstaller && pyinstaller -y --add-data /usr/local/__yolo_v3_qr_detector/:__yolo_v3_qr_detector/ --onefile --name extract_otp_secrets_linux_x86_64 --distpath /files/dist/ /files/src/extract_otp_secrets.py' - name: Smoke tests run: |