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

Deploy Docker image to ghcr.io #579

Merged
merged 4 commits into from
Jan 23, 2025
Merged

Deploy Docker image to ghcr.io #579

merged 4 commits into from
Jan 23, 2025

Conversation

Kobzol
Copy link
Collaborator

@Kobzol Kobzol commented Jan 23, 2025

This changes the deployment from a webhook to a docker push to the ghcr.io registry. It also switches to merge queues.

Copy link
Contributor

@JersyJ JersyJ left a comment

Choose a reason for hiding this comment

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

I believe it does not make sense to run CI on the master branch if you are not evaluating test coverage for the branch or other specific metrics. Running linters is also unnecessary when they are already executed on every commit of a pull request.

In my opinion, deployments should be handled separately and triggered either by a push to the master branch or manually using workflow_dispatch

.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@Kobzol
Copy link
Collaborator Author

Kobzol commented Jan 23, 2025

I added a conclusion job, which is not super pretty, but often a requirement if one wants to get GitHub Actions to work well with both pull request and merge queue workflows.. Anyway, looks like it behaves like I wanted it to now.

@Kobzol Kobzol enabled auto-merge January 23, 2025 13:31
@Kobzol Kobzol added this pull request to the merge queue Jan 23, 2025
Merged via the queue into master with commit a98e988 Jan 23, 2025
5 checks passed
@Kobzol Kobzol deleted the docker-deploy branch January 23, 2025 13:35
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.

3 participants