Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Automate workflow for docker image push and PyPI release #156

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

frostming
Copy link
Collaborator

@frostming frostming commented Mar 22, 2023

Signed-off-by: Frost Ming [email protected]

  • Automate docker image push
    • Multi-platform images
    • The latest tag will be built on every commit to the main branch, and the versioned tag will be pushed on release.
  • Switch to PDM to derive version from git tag
  • Secrets required:
    • DOCKERHUB_USERNAME
    • DOCKERHUB_TOKEN
    • PYPI_API_TOKEN

P.S. The release is totally automated, simply click the Draft a new release button, input the desired version tag and publish, the release info will be filled in by the GitHub action later.

@yihong0618
Copy link
Owner

amazing!

@yihong0618 yihong0618 merged commit bf97814 into yihong0618:main Mar 22, 2023
@frostming frostming deleted the ci/docker branch March 22, 2023 02:47
@frostming
Copy link
Collaborator Author

frostming commented Mar 22, 2023

Commit messages in the form of Conventional Commit will appear in the auto-generated changelog.

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.

2 participants