Skip to content

Link docker and pypi releases#321

Merged
sinaatalay merged 2 commits into
rendercv:mainfrom
mheguy:fix-docker-release
Jan 25, 2025
Merged

Link docker and pypi releases#321
sinaatalay merged 2 commits into
rendercv:mainfrom
mheguy:fix-docker-release

Conversation

@mheguy
Copy link
Copy Markdown
Contributor

@mheguy mheguy commented Jan 23, 2025

Closes #320

This resolves the race condition between the pypi and docker workflows when triggered by a github release by combining the two workflows and having docker depend on pypi.

I added the "release" environment to the docker job in order to match what was in the pypi job, though I don't think you actually use deployments and/or environments.

While the changes are straightforward, I don't know of a way to test for issues until the next release.

@sinaatalay
Copy link
Copy Markdown
Member

Thank you!

@sinaatalay sinaatalay merged commit 0317e61 into rendercv:main Jan 25, 2025
@mheguy mheguy deleted the fix-docker-release branch January 26, 2025 01:11
@mheguy
Copy link
Copy Markdown
Contributor Author

mheguy commented Jan 26, 2025

@sinaatalay the release is failing.
That's on me, I renamed the file without realising it would break things.
On Pypi, you'll need to set the correct workflow name.
https://docs.pypi.org/trusted-publishers/adding-a-publisher/

@sinaatalay
Copy link
Copy Markdown
Member

Ahh, right. Thank you, I was trying to figure out why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Race condition: docker and pypi workflows

2 participants