Questions tagged [github-packages]

Packages is a feature on Github allowing packages of files to be stored alongside code in a Github repository.

Github Packages is a feature on Github allowing packages of files to be stored alongside code in a Github repository. Several package registry formats are supported, such as

  • Container
  • RubyGems
  • npm
  • Apache Maven
  • Gradle
  • NuGet
54 questions
6
votes
6 answers

Github package successfully published, but not showing up in "Packages" section

I have a package that I published to Github package repository and it was successful, still, I am not able to see this package in the packages section https://i.stack.imgur.com/WV7fr.jpg https://i.stack.imgur.com/kGOFG.png Please refer to the…
Hitesh Balwani
  • 175
  • 1
  • 12
5
votes
5 answers

brew install fails with 'The downloaded GitHub Packages manifest was corrupted or modified'

I'm trying to install curl via Homebrew using brew install curl. However, the installation fails with: The downloaded GitHub Packages manifest was corrupted or modified (it is not valid JSON ==> Downloading…
new2cpp
  • 3,311
  • 5
  • 28
  • 39
3
votes
2 answers

Can a github collaborator create package in Github package registry?

I have a private github repository and in that repository there are some collaborators. They can't create new packages but they can publish to existing packages created by me as I'm the creator of the repository. Is there any way that my…
3
votes
0 answers

How to access Github NPM Private package with SSH config?

I have created and published a NPM Private Package to github packages. To access it in package.json I had to add "@orgname/package-name": "1.1.1" I have also created .npmrc file which contains following lines. Note: NPM_TOKEN is set with…
Timam
  • 378
  • 1
  • 2
  • 8
3
votes
1 answer

Debugging Github Packages repository connection in Gradle

I have set up a private project in Github that has some Maven packages. I can browse to them on the Github web site. By following the directions here I have set up my build.gradle to declare the repository as follows: repositories { …
Tenfour04
  • 83,111
  • 11
  • 94
  • 154
2
votes
1 answer

Pushing image to Github packages throws "denied: not_found: owner not found"

I have the following github workflow: name: TS Service Build permissions: packages: write on: workflow_dispatch: inputs: ... jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses:…
vlio20
  • 8,955
  • 18
  • 95
  • 180
2
votes
1 answer

github actions publish gem package suddenly started to fail

I used to publish gem packages to GitHub Packages using the following GitHub Actions and it was always successful. name: Deploy to Github Packages on: release: types: - published env: ORGANIZATION: MYGITHUBNAME RELEASE_TAG_NAME:…
2
votes
2 answers

Publishing NuGet package to GitHub Packages Using GitHub Actions

I'm trying to create a NuGet package of my .NET library and publish it to GitHub Packages NuGet registry using GitHub actions. I'm stuck at the publish part. I'm using the following command: dotnet nuget push "bin/Release/MyApp.${{…
Sam
  • 26,817
  • 58
  • 206
  • 383
2
votes
1 answer

GitHub Dependabot Doesn't Have Permissions To Publish to GHCR How Can I Give It Access

I have a repository that builds, tags, and publishes container images to GitHub's ghcr.io, however it fails to publish on dependabot actions and breaks all of my pipelines that are doing the build, tag, and release of each container image. Here is…
R. Barrett
  • 685
  • 11
  • 34
2
votes
0 answers

npm ERR! 401 Unauthorized - Unauthenticated: User cannot be authenticated with the token provided

I am new to GitHub and I have created a ACTIONS in GitHub Enterprise 3.7 to publish the package to GitHub Package. But the job failed with log as below: I have setup the Repository Token as shown below: The value of Token I have retrieved from…
Hao
  • 103
  • 1
  • 2
  • 8
2
votes
0 answers

Github actions: authentication failed for status: 401 Unauthorized -> [Help 1]

I am trying to setup a basic CI environement for a maven project. Here is the github action yml boilerplate I am using: name: Java CI with Maven on: push: branches: [ "master" ] pull_request: branches: [ "master" ] jobs: build: …
2
votes
1 answer

Unable to push docker image to github package using github actions

Hi I am trying to push docker images to github packages using workflow. Below is my workflow. - name: Log in to the Container registry uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 with: registry: ${{…
Niranjan godbole
  • 721
  • 3
  • 13
  • 28
2
votes
1 answer

npm install fails with 405 Method Not Allowed

I am currently working on upgrade some projects to use node 18 with npm 8, from node 12 with npm 6. We're using github as npm repository for our private packages. Now I am getting this error on npm install: npm ERR! code E405 npm ERR! 405 Method…
Cola_Colin
  • 415
  • 5
  • 16
2
votes
0 answers

Having trouble consuming private NPM dependency from github

I am trying to consume a private React NPM package from my own github repo. I have successfully published to my github repo the package. In the consumer project, I have sucessfully installed the package using the command my github/packages page…
1
vote
1 answer

Push to git packages fails with valid GITHUB_TOKEN

Fully studied the github doc on pushing packages to Git. All the points in the docs are met in the code from the instructor that I'm using. Looked for typos, etc. This is the course YAML, it compares exactly to the instructor version: name: Push to…
1
2 3 4