Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save capsulecorplab/75b930c42188006ed56a3785aa797971 to your computer and use it in GitHub Desktop.

Select an option

Save capsulecorplab/75b930c42188006ed56a3785aa797971 to your computer and use it in GitHub Desktop.

Revisions

  1. capsulecorplab created this gist Jul 31, 2022.
    10 changes: 10 additions & 0 deletions how_to_setup_GHCR_for_kasm_workspace_images.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    Steps:
    1. [Generate personal access token for GitHub Container Registry](https://gist.github.com/yokawasa/841b6db379aa68b2859846da84a9643c) to be used as ghcr token
    2. Add ghcr token, `GHCR_AUTH_TOKEN`, as secret in repo settings
    3. Enable workflows in GitHub Actions
    4. Push to repo to trigger GitHub Actions
    5. Enable ghcr in GitHub Packages
    6. Set publicity to "public"

    References:
    - https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry