You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BenjaminRodenberg
changed the title
Workflow releasing docker container does not build master branch; precice/python-bindings:latest contains incorrect version.
Workflow releasing docker container does not build master branch
Feb 12, 2024
I manually released the latest version of the python bindings now to precice/python-bindings:latest. Before the next release we should either fix this issue or deactivate the workflow. The way how things are working currently is very misleading.
It's not a duplicate, but it was a false alert. The Dockerfile I used to manually do the release was outdated. With the up-to-date Dockerfile I now run into the issue described in #191, but this is a different story.
python-bindings/.github/workflows/build-docker.yml
Lines 54 to 62 in c0288c8
The code above does not provide the correct branch to the dockerfile, if running from
master
, i.e. a release. This results in an incorrect release.If I run the following locally, everything works:
Note:
--build-arg=v3.0.0.0
is needed and not--build-arg=master
, becausemaster
contains 536d385One can check for the correct version of the bindings being packaged by
At the current state this breaks our automated packaging pipeline and requires manually releasing the docker container.
The text was updated successfully, but these errors were encountered: