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

Automating the Publishing of docker image #4065

Open
kskarthik opened this issue May 1, 2024 · 1 comment
Open

Automating the Publishing of docker image #4065

kskarthik opened this issue May 1, 2024 · 1 comment

Comments

@kskarthik
Copy link
Contributor

kskarthik commented May 1, 2024

Proposal

I have a thought regarding automating updating of docker image to the project's docker registry.

The workflow is described in-depth below:

Tasks to be done by the developer locally:

  1. creates a tag
  2. build the deb locally & sign
  3. push to the project's debian archive
  4. push the tag to github

The Proposed Automation part:

  1. A workflow will be tiggered on github actions when a tag is pushed
  2. A script checks if a new version which matches the git tag, is published at deb.globaleaks.org
  3. If yes, It builds docker image from the Dockerfile present in the project's repo & tags it with the latest version. Else, the job fails.
  4. Pushes to the docker hub

Motivation and context

This will reduce the number of repetitive manual tasks to be done for each release & helps the developers prioritize their attention

@kskarthik
Copy link
Contributor Author

kskarthik commented May 2, 2024

i have a proof-of-concept implementation in bash for this method.

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

No branches or pull requests

1 participant