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

Publish to GitHub Image Repo #204

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

dylanmcreynolds
Copy link
Contributor

Description

Primarily, this PR adds a github action that publishes the image to ghcr.io. To get that to work, I had to add a sample local.config.json.

Additionally, I updated the Dockerfile to use https for npjms.org to remove a bunch of warning messages.

Motivation

ghrc.io is a very convenient place to store container images, tied to github actions and available with tag names that automatically follow your branch and tag name sin github. I'd like to investigate using this for multiple repos in the SciCat world and started here in zip-service which does not yet have any updates to public image registries.

@dylanmcreynolds
Copy link
Contributor Author

This is working within my own fork (https://github.com/dylanmcreynolds/zip-service/actions/runs/1210617841) but failing here with the error:

buildx call failed with: error: denied: installation not allowed to Create organization package

I'm assuming there's a permission change needed in the repo, but no sure.

@henrikjohansson712
Copy link
Contributor

I apologize for not addressing this PR earlier. I'm guessing that one reason that it's failing here is because it's missing the secrets.GITHUB_TOKEN. What type of token do we need?

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