Skip to content

Commit 719e410

Browse files
fix: pass token via oci-registry-password for GHCR auth
The devcontainers/cli OCI client needs explicit credentials via oci-registry-password rather than relying on env-only auth. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent d751e6c commit 719e410

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/publish-feature.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,12 @@ 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-
2417
- name: Publish to GHCR
2518
uses: devcontainers/action@v1
2619
with:
2720
publish-features: "true"
2821
base-path-to-features: "./features"
2922
generate-docs: "true"
23+
oci-registry-password: ${{ secrets.GITHUB_TOKEN }}
3024
env:
3125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)