[CI/CD] Use a base Alpine image instead of python:3.11-alpine.

Weird errors seem to happen on Twine on that image:

```
Traceback (most recent call last):
  File "/usr/bin/twine", line 5, in <module>
    from twine.__main__ import main
  File "/usr/lib/python3.11/site-packages/twine/__init__.py", line 32, in <module>
    import importlib.metadata
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 17, in <module>
    from . import _adapters, _meta
  File "/usr/lib/python3.11/importlib/metadata/_adapters.py", line 3, in <module>
    import email.message
  File "/usr/lib/python3.11/email/message.py", line 15, in <module>
    from email import utils
  File "/usr/lib/python3.11/email/utils.py", line 28, in <module>
    import random
  File "/usr/lib/python3.11/random.py", line 49, in <module>
    from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
ImportError: Error relocating /usr/lib/python3.11/lib-dynload/math.cpython-311-x86_64-linux-musl.so: _PyModule_Add: symbol not found
```
This commit is contained in:
Fabio Manganiello 2024-05-26 03:31:25 +02:00
parent 0ffff854d3
commit 96f265a4a2
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -263,7 +263,7 @@ steps:
###
- name: update-pip-package
image: python:3.11-alpine
image: alpine
environment:
TWINE_USERNAME:
from_secret: pypi_user