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 CD for nightly docker images #108

Open
wants to merge 1 commit into
base: sail2
Choose a base branch
from

Conversation

Trolldemorted
Copy link
Contributor

@Trolldemorted Trolldemorted commented Oct 7, 2020

Nightly images that are automatically pushed to ghcr

Things you have to do yourself (once):

  • decide which branch is the master branch (if sail2 is the master branch, replace master with sail2)
  • create a PAT which can push public and private images
  • put that PAT into a github actions secret called CR_PAT
  • replace USERNAME with the PAT's owner
  • ensure that users has the permission to push to rems-project
  • set the image visibility to public once the first version is published (you must login as the PAT's owner, being an owner of rems-project does not suffice)

Fixes #107

@Alasdair
Copy link
Collaborator

Alasdair commented Oct 8, 2020

Thanks for setting this up. I've never really used dockers/containers so I will have to do a bit of studying I think

@Trolldemorted
Copy link
Contributor Author

No problem, that's more or less just copypasta from another project I migrated to ghcr. If you need docker-related help just ask, banishing the arcane ocaml incantations into containers should help users a lot and it solves the "works on my machine" problem by shipping that machine

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.

publish official containers to dockerhub or github container registry
2 participants