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

ci: set up docker publishing to GHCR #2

Merged
merged 2 commits into from
Sep 29, 2023
Merged

ci: set up docker publishing to GHCR #2

merged 2 commits into from
Sep 29, 2023

Conversation

galargh
Copy link
Contributor

@galargh galargh commented Sep 29, 2023

This PR sets up docker publishing to GHCR.

Comment on lines +4 to +6
push:
branches:
- master
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This ensures we publish on push to master.

push:
branches:
- master
pull_request:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This makes sure we test if the image can be built on pull request. But we don't publish it.

Comment on lines +8 to +13
workflow_dispatch:
inputs:
push:
description: 'Push to registry'
required: false
default: 'false'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

And here we allow publishing/testing an image on demand.

@galargh galargh marked this pull request as ready for review September 29, 2023 17:08
@galargh galargh merged commit ed9c2ae into main Sep 29, 2023
18 checks passed
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants