Add build workflow for pull request Docker image #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WHAT
WHY
Until now, builds were only done during release. To use Docker image with new features or changes for testing, we had to manually build them locally and upload them to the registry.
This process was time-consuming and made collaboration difficult for the team.
With this new CI workflow, Docker image for each pull request are automatically build and published. The image are updated whenever changes are made to the pull request, and the image tag follow
pr-{number}
. (Usingpr-{number}
instead of commit hashes helps avoid an excessive increase in tags, making management simpler and more efficient. ) This allows the team to test changes faster and more easily, improving efficiency and ensuring better quality before releases.FYI
The following is an uploaded docker images
The following is the result of local envrionment