-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Description:
Automate the process of updating the Docker Hub image tag based on the result of a completed pull request. When a pull request is created, trigger a build process to create a tag named "release-candidate" along with the name or ID of the pull request. Subsequently, upon successful completion of the pull request, promote the image tag on Docker Hub to either the "latest" or "main" tag.
Steps to Implement:
- Configure the build process to create a Docker image with the tag "release-candidate-pr-" (e.g., "release-candidate-pr-123").
- Upon pull request completion, trigger a build process to promote the "release-candidate-pr-" tag to either "latest" or "main" based on the branch.
- Update the README with the latest Docker image tag and link to Docker Hub.
Additional Information:
- Ensure proper authentication and permissions for triggering builds and updating Docker Hub tags.
- Include relevant checks in the build pipeline to validate the success of the pull request before promoting the image tag.
- Document the process for contributors to understand the Docker image versioning.
Reactions are currently unavailable