Skip to content
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

wkg oci push doesn't work on Windows #145

Open
danbugs opened this issue Jan 31, 2025 · 0 comments
Open

wkg oci push doesn't work on Windows #145

danbugs opened this issue Jan 31, 2025 · 0 comments

Comments

@danbugs
Copy link

danbugs commented Jan 31, 2025

How to repro

> wkg --version
wkg 0.9.0

On Windows WSL

> echo "<gh pat token>" | docker login ghcr.io -u <username> --password-stdin
Login Succeeded
> wkg oci push ghcr.io/<username>/<some name>:<some tag> <path to wasm component>
pushed: ghcr.io/<username>/<some name>:<some tag>
digest: sha256:<something something something>

Works ✅

On Windows PowerShell

> echo "<gh pat token>" | docker login ghcr.io -u <username> --password-stdin
Login Succeeded
> wkg oci push ghcr.io/<username>/<some name>:<some tag> <path to wasm component>
Error: Unable to push image

Caused by:
    Server error: url https://ghcr.io/v2/<username>/<some name>/blobs/uploads/, code: 401, message: {"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}

Doesn't work ❎

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

No branches or pull requests

1 participant