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

Release to GitHub Container Registry #1445

Merged
merged 2 commits into from
Jul 2, 2023
Merged

Release to GitHub Container Registry #1445

merged 2 commits into from
Jul 2, 2023

Conversation

unlobito
Copy link
Member

[dangergem.slack.com context]

Fixes #1110

This PR adds a workflow similar to danger/swift, danger/kotlin, and danger/danger-js, but has been updated to make use of new github context variables for easier setup (see https://github.com/docker/build-push-action#usage + https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages). If this PR is accepted, I'd be happy to port these changes to the aforementioned repos.

It will publish an image on ghcr.io/danger/danger on each new tag (e.g., ghcr.io/danger/danger:v9.3.1 for latest) and on new pushes to the default branch (at ghcr.io/danger/danger:master).

@orta
Copy link
Member

orta commented Jul 2, 2023

Seems reasonable to me 👍🏻

@orta orta merged commit 7af91ad into master Jul 2, 2023
12 checks passed
@unlobito
Copy link
Member Author

unlobito commented Jul 3, 2023

It seems we're succeeding in publishing the container image (https://github.com/danger/danger/pkgs/container/danger/106254064), but struggle to tag it correctly (https://github.com/danger/danger/actions/runs/5436611587/jobs/9886592800#step:5:686).

Investigating & will follow up with another PR. Apologies for the disruption here.

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.

Provide an official Docker image
2 participants