Issue #SBCOSS-00: Create Github actions to publish docker image to GHCR - #216
Merged
Conversation
There was a problem hiding this comment.
I've completed my review and didn't find any issues... but I did find this squirrel.
_.-"""-,
.' ..::. `\
/ .::' `'` /
/ .::' .--.=;
| ::' / C ..\
| :: | \ _.)
\ ':| / \
'-, \./ \)\)
`-| );/
'--'-'Check out our docs on how you can make Korbit work best for you and your team.
There was a problem hiding this comment.
Pull Request Overview
This PR creates a GitHub Actions workflow to automate the building and deployment of Docker images to the GitHub Container Registry (GHCR) when Git tags are pushed.
- Implements automated CI/CD pipeline triggered by tag pushes
- Builds Maven project and packages Play framework distribution
- Builds and publishes Docker images to GHCR with tagged versioning
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds a GitHub Actions workflow to the
cert-servicerepository.Build and Deploy (
build.yml):Triggers when a Git tag is pushed.
Builds the project, packages the artifact, builds a Docker image, and pushes it to GitHub Container Registry (GHCR).
Description by Korbit AI
What change is being made?
Create a GitHub Actions workflow to automate the build and deployment of a Docker image to the GitHub Container Registry (GHCR) upon tagging a commit.
Why are these changes being made?
Automating the Docker image publishing process enhances the continuous integration and continuous deployment (CI/CD) flow, ensuring that tagged releases are promptly and consistently packaged and available in the container registry. This approach improves deployment efficiency and reduces the potential for human error during the release process.