Skip to content

Log in to ghcr.io before the nightly Trivy scan - #13

Merged
ru-sh merged 1 commit into
mainfrom
fix-trivy-ghcr-auth
Oct 1, 2026
Merged

ru-sh merged 1 commit into
mainfrom
fix-trivy-ghcr-auth

Conversation

@ru-sh

@ru-sh ru-sh commented Oct 1, 2026

Copy link
Copy Markdown

The nightly Trivy scan has failed every run since #2 with UNAUTHORIZED: it pulls ghcr.io/motuslabs/code-server:latest anonymously, but the package is private to MotusLabs. This grants the job packages: read and logs in to ghcr.io with the workflow token before scanning.

🤖 Generated with Claude Code

The scan pulls ghcr.io/motuslabs/code-server:latest anonymously, but the
package is private, so every nightly run since the image moved to ghcr.io
has failed with UNAUTHORIZED. Grant the job packages: read and log in with
the workflow token first.
@ru-sh
ru-sh merged commit 295c1f3 into main Oct 1, 2026
11 checks passed
@ru-sh
ru-sh deleted the fix-trivy-ghcr-auth branch October 1, 2026 20:01
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.

1 participant