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

feat: add a build job to push the container image to the repo registry #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vordimous
Copy link
Contributor

No description provided.

@DamascenoRafael
Copy link
Owner

Hi @vordimous, could you explain how it would work and what the purpose of this workflow is?
I'm not that familiar with docker.

@vordimous
Copy link
Contributor Author

vordimous commented Oct 1, 2024

@DamascenoRafael This code builds the image in the dockerfile and dynamically creates tags based on commits and branches. This config is the default setup that adds published images for people to use instead of manually pulling and building the image. You can see an example of what this will look like on your account by looking at my fork: https://github.com/vordimous/mqtt-simulator/pkgs/container/mqtt-simulator

Here is an example of what people can do to run the simulator: https://github.com/aklivity/zilla-examples/blob/v14/quickstart/docker/compose/docker-compose.yaml#L22

If you merge this code then anyone can use the image ghcr.io/DamascenoRafael/mqtt-simulator instead of doing what I am on the fork.

@vordimous
Copy link
Contributor Author

I went ahead and updated the dockerfile python version.

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