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

Add Github action for building and publishing an image #300

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

akikoskinen
Copy link
Contributor

The action triggers on pushes to the develop branch. It builds a container image and pushes it to ghcr.io. Based largely on the example from Github's documentation [1].

There used to be actions that, among other things, also built and published a similar kind of image. But those were removed in commit 69b20c8.

[1] https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages

Here's a test run and the resulting image.

The action triggers on pushes to the `develop` branch. It builds a
container image and pushes it to ghcr.io. Based largely on the example
from Github's documentation [1].

There used to be actions that, among other things, also built and
published a similar kind of image. But those were removed in commit
69b20c8.

[1] https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages
@sonarcloud
Copy link

sonarcloud bot commented Oct 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@mikkokeskinen mikkokeskinen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@akikoskinen akikoskinen merged commit 42662ed into develop Oct 11, 2023
5 of 6 checks passed
@akikoskinen akikoskinen deleted the build-push-image branch October 11, 2023 08:45
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