Skip to content

Commit d751e6c

Browse files
fix: add explicit GHCR login for feature publish
The devcontainers/action OCI client doesn't always handle GHCR authentication via GITHUB_TOKEN alone. Adding docker/login-action ensures credentials are available. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 25acb2d commit d751e6c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publish-feature.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17+
- name: Login to GHCR
18+
uses: docker/login-action@v3
19+
with:
20+
registry: ghcr.io
21+
username: ${{ github.actor }}
22+
password: ${{ secrets.GITHUB_TOKEN }}
23+
1724
- name: Publish to GHCR
1825
uses: devcontainers/action@v1
1926
with:

0 commit comments

Comments
 (0)