Questions tagged [github-package-registry]

GitHub Packages is a software package hosting service that allows you to host your software packages privately or publicly and use packages as dependencies in your projects. Questions regarding help on the GitHub Package Registry should use this tag.

About GitHub Packages

From the documentation about GitHub Packages:

GitHub Packages is a package hosting service, fully integrated with GitHub. GitHub Packages combines your source code and packages in one place to provide integrated permissions management and billing, so you can centralize your software development on GitHub.

You can publish packages in a public repository (public packages) to share with all of GitHub, or in a private repository (private packages) to share with collaborators or an organization. You can use GitHub roles and teams to limit who can install or publish each package, as packages inherit the permissions of the repository. Anyone with read permissions for a repository can install a package as a dependency in a project, and anyone with write permissions can publish a new package version.

You can host multiple packages in one repository and see more information about each package by viewing the package's README, download statistics, version history, and more.

You can integrate GitHub Packages with GitHub APIs, GitHub Actions, and webhooks to create an end-to-end DevOps workflow that includes your code, CI, and deployment solutions.

Resources

229 questions
0
votes
0 answers

index.json showing wrong version in github nuget package registry

I have a package hosted in the github nuget package registry but the version is mismathced in the index.json {"count":1,"items":[{"@id":"https://nuget.pkg.github.com/ORGANISATION/REPO/index.json","lower":"0.9.0-20200922-085546","upper":"0.9.0" ...…
0
votes
0 answers

Why deploying maven packages on terminal throws an error but the maven package ends up being published on GitHub packages anyway?

I have been using Clojure, ClojureScript, lein, shadow-cljs, re-frame, reagent, Emacs, and CIDER to work on a Clojure/ClojureScript dynamic web app project. Now, I am trying to make depencies be private Maven packages hosted for free on GitHub…
Pedro Delfino
  • 2,421
  • 1
  • 15
  • 30
0
votes
1 answer

http4s-request-signer_2.13 dependency is not downloaded from central repository

As I build scala project using >sbt assembly , I am getting the below error. Should I configure anything to resolve this issue? [info] Strategy 'rename' was applied to 6 files (Run the task at debug level to see details) [error]…
0
votes
2 answers

Why I can't lein install this project using `deps.edn`, lein plugin (lein-tools-deps), and maven packages hosted on GitHub Package?

I am trying to enhance the dependency management of a Clojure/ClojureScript project built with lein. Hence, I am using a library called lein-tools-deps. I added it to my project.clj file: (defproject my-project :description "description" :url…
0
votes
0 answers

Gradle publish to GH packages does nothing

I have a very strange problem. I'm trying to publish a library to GH Packages private repository, but the action to ./gradlew publish does nothing. It "succeeds", but nothing happens. Also produces no logs at all. My repository is structured as a…
Whizzil
  • 1,264
  • 6
  • 22
  • 39
0
votes
0 answers

Can you tell me how to deploy flutter module aar to github packages with Maven?

Purpose I want to create a Flutter Module and upload it to a Maven repository on Github Packages to serve it to an Android app. problem The command used to upload to the Github Packages Maven repository is no longer available from…
S. Simon
  • 1
  • 1
0
votes
2 answers

Unable to install public NPM-package from Github Package Registry using Github Actions

There is a public NPM package in the Github Package Registry im trying to install using Github Actions. I have added a .npmrc file next to my package.json with the line @instacart:registry=https://npm.pkg.github.com. I have added the package to…
0
votes
1 answer

dotnet restore in Github Actions gives 401 unauthorized

a NET6 project on Github cannot be dotnet-restored in Github Actions. dotnet restore works fine locally. Looking at the Action logs, it seems GH looks for Microsoft dependencies in my Github Packages Repo. System.Linq is MS-stuff. Retrying…
baouss
  • 1,312
  • 1
  • 22
  • 52
0
votes
0 answers

While publishing to github packages using gradle, only the dependencies are added?

f i am publishing my build.gradle to github packages only the dependencies are published or the plugins and tasks are also published. If the tasks and plugins are also published how can i do that ?
0
votes
0 answers

docker-compose fails to add nuget github source

I am working on a .NET Core web application in Visual Studio 2022. I have a nuget package on my github and I am trying to add the github page as a source. I have generated my github PAT and authorized it, and added the package url in package…
Eutherpy
  • 4,471
  • 7
  • 40
  • 64
0
votes
1 answer

Unable to find package . No packages exist with this id in source(s): nuget.org

We have developed an API using .Net Core 5. We now wish to deploy that API as a Azure Web App. We use GitHub so opted to integrate deployment of this API with GitHub Actions. This process seems straight forward enough, however, one of the nuget…
BryceBy
  • 208
  • 5
  • 16
0
votes
1 answer

Need to specify scope twice when adding library from GitHub Packages

In our GitHub org, we have a private repository for an internal Node.js library. I've set up an Actions Workflow to build and publish a package to the GPR whenever a release is cut and tagged. Following the docs here, I've scoped the package with…
0
votes
1 answer

Using Maven over bash shell to automate my deploy workflow (github-package-registry)

I am correctly deploying my JAR file using the command line below, however I would like to create a pom.xml file and invoke mvn deploy or something similar to deploy this package to github packages. Is this possible? How can I do it? mvn…
João Paraná
  • 1,031
  • 1
  • 9
  • 18
0
votes
1 answer

How can I authenticate with GitHub Package Registry using app installation token?

I have successfully pushed some Gradle packages to GitHub Package Registry using the built in GITHUB_TOKEN of the given repo in GitHub Actions. Now I want to download the packages when building with GitHub Actions in another repo. The docs suggest…
Geir Sagberg
  • 9,632
  • 8
  • 45
  • 60
0
votes
1 answer

singularity and github package registry

How to pull a docker image from github registry using singularity? Usually with docker you have to generate a token and run sth similar to: docker pull docker.pkg.github.com/{etc}/{etc}/{etc} --username {mygithubusername} --password…
afroditi
  • 307
  • 1
  • 3
  • 13