casperdcl / deploy-pypi

Securely build and upload Python distributions to PyPI
Other
15 stars 2 forks source link

Docker container fails to build #3

Closed ygalblum closed 4 years ago

ygalblum commented 4 years ago

Hi,

Today (May-18-2020) My deployment step fails while trying to build the container:

2020-05-18T19:13:07.7880333Z Build container for action use: '/home/runner/work/_actions/casperdcl/deploy-pypi/v1/cached.Dockerfile'. 2020-05-18T19:13:07.7940766Z ##[command]/usr/bin/docker build -t be76db:c6b66907f637483e89070ff88a461ca0 -f "/home/runner/work/_actions/casperdcl/deploy-pypi/v1/cached.Dockerfile" "/home/runner/work/_actions/casperdcl/deploy-pypi/v1" 2020-05-18T19:13:11.1683868Z Sending build context to Docker daemon 14.34kB 2020-05-18T19:13:11.1685335Z 2020-05-18T19:13:11.2320686Z Step 1/1 : FROM docker.pkg.github.com/casperdcl/deploy-pypi/deploy-pypi:latest 2020-05-18T19:13:11.4330094Z Get https://docker.pkg.github.com/v2/casperdcl/deploy-pypi/deploy-pypi/manifests/latest: no basic auth credentials 2020-05-18T19:13:11.4355546Z ##[warning]Docker build failed with exit code 1, back off 2.027 seconds before retry. 2020-05-18T19:13:13.4674592Z ##[command]/usr/bin/docker build -t be76db:c6b66907f637483e89070ff88a461ca0 -f "/home/runner/work/_actions/casperdcl/deploy-pypi/v1/cached.Dockerfile" "/home/runner/work/_actions/casperdcl/deploy-pypi/v1" 2020-05-18T19:13:13.6132681Z Sending build context to Docker daemon 14.34kB 2020-05-18T19:13:13.6133481Z 2020-05-18T19:13:13.6430718Z Step 1/1 : FROM docker.pkg.github.com/casperdcl/deploy-pypi/deploy-pypi:latest 2020-05-18T19:13:13.6746152Z Get https://docker.pkg.github.com/v2/casperdcl/deploy-pypi/deploy-pypi/manifests/latest: no basic auth credentials 2020-05-18T19:13:13.6769509Z ##[warning]Docker build failed with exit code 1, back off 3.46 seconds before retry. 2020-05-18T19:13:17.1385541Z ##[command]/usr/bin/docker build -t be76db:c6b66907f637483e89070ff88a461ca0 -f "/home/runner/work/_actions/casperdcl/deploy-pypi/v1/cached.Dockerfile" "/home/runner/work/_actions/casperdcl/deploy-pypi/v1" 2020-05-18T19:13:17.2638529Z Sending build context to Docker daemon 14.34kB 2020-05-18T19:13:17.2639717Z 2020-05-18T19:13:17.3138312Z Step 1/1 : FROM docker.pkg.github.com/casperdcl/deploy-pypi/deploy-pypi:latest 2020-05-18T19:13:17.3469093Z Get https://docker.pkg.github.com/v2/casperdcl/deploy-pypi/deploy-pypi/manifests/latest: no basic auth credentials 2020-05-18T19:13:17.5189728Z ##[error]Docker build failed with exit code 1 2020-05-18T19:13:17.5262831Z Cleaning up orphan processes

It worked on my previous release (Apr-30-2020)

ygalblum commented 4 years ago

2_Build casperdcldeploy-pypi@v1.txt

sjoerdk commented 4 years ago

Thanks for this action! However, I have been seeing the same error for the last 2 weeks: Get https://docker.pkg.github.com/v2/casperdcl/deploy-pypi/deploy-pypi/manifests/latest: no basic auth credentials

Docker pull is somehow not authorized?

casperdcl commented 4 years ago

Hmm could you try now?

ygalblum commented 4 years ago

Sorry, I couldn't wait and moved to a different action. Maybe @sjoerdk can try. Sorry again

sjoerdk commented 4 years ago

Pardon, same here. I switched to building with setuptools and using the pypi-publish action.

casperdcl commented 4 years ago

sure, no worries. will re-open if anyone reports the issue persists.

closed by 60bd57bd0