-
Notifications
You must be signed in to change notification settings - Fork 9
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
HttpError: Package not found #64
Comments
This is most likely a permission issue.
I see that you are using the GitHub-provided |
Thanks, it worked with the personal token. I'm guessing -
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
context: ./docker
build-args: |
RELEASE=${{ matrix.release }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} |
If anyone stumbles upon this in 2023, I was able to delete images using my GITHUB_TOKEN. jobs:
prune-pr-images:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: vlaurin/action-ghcr-prune@v0.5.0
with:
container: ${{ env.CONTAINER_NAME }}
token: ${{ secrets.GITHUB_TOKEN }}
prune-tags-regexes: ^pr-${{github.event.pull_request.number}}
# dry-run: true |
Good day.
I tried using your action and got this error:
HttpError: Package not found
The text was updated successfully, but these errors were encountered: