Closed narugo1992 closed 1 year ago
Just republished. Thank you for your report.
$ docker run --entrypoint bash --rm -i ghcr.io/eggplants/get-pixivpy-token:3.1.0 <<<'pip list | grep gppt'
gppt 3.1.0
Emmm, I think you may need to change the workflow of github action, just put the ghcr job strictly after pypi job, passing the whl file from pypi job and install it. Otherwise the docker image of next version will still have the same problem.
462e4d20e67297cb70968ebe8be58d461dfc20bc
When I run the following command to enter the container (version 3.1.0)
Then run
pip list
, this is the resultGppt version is actually
3.0.0
, instead of3.1.0
.This should be because the pypi package and the docker image are paralleled on the github action workflow, so pypi may not have been deployed properly when docker is still building. My suggestion is to use the previously packaged whl file to install directly during docker build to ensure that the gppt version is correct.