-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
C: packagingInstallation and packaging of BlackInstallation and packaging of Black
Description
Describe the bug
When you are creating Docker image, you always tag it with latest tag and either:
- Git tag
or: latest_non_release
This is done in line # 41 of docker.yml.
Earlier GIT_TAG is prepared in line # 32 of docker.yml.
To Reproduce
Pull both images:
$ docker pull pyfound/black:latest
$ docker pull pyfound/black:latest_non_release
Check version of Black for both images:
$ docker run --rm -it pyfound/black:latest black --version
black, version 0.1.dev1+g91773b8
$ docker run --rm -it pyfound/black:latest_non_release black --version
black, version 0.1.dev1+g91773b8
Of course, there can be a point in time when latest is same as image tagged with Git tag, but every push to main branch will produce new Docker image.
Expected behavior
latest tag should correspond to latest released version of Black. So in my automation I can always pull Docker image related to the newest released version of Black.
Environment (please complete the following information):
N/A
Does this bug also happen on main?
N/A
Additional context
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C: packagingInstallation and packaging of BlackInstallation and packaging of Black