helm push

From wikieduonline
Jump to navigation Jump to search

helm push demo-0.1.0.tgz oci://registry-1.docker.io/docker

Push to ghcr.io

echo "ghp_YOURPAT" | docker login ghcr.io -u YOUR_USERNAME --password-stdin
Login Succeeded
helm push ./mychart-0.1.0.tgz oci://ghcr.io/your-username/your-repo/charts
Pushed: ghcr.io/your-username/your-repo/charts/mychart:0.1.0
Digest: sha256:cf1bb565b29c4ba0a7152XXXXXX

Errors[edit]

helm push ./mychart-0.1.0.tgz oci://ghcr.io/your-username/your-repo/charts
Error: file 'mychart-0.1.0.tgz' does not appear to be a gzipped archive; got 'application/octet-stream'
helm push myfile.tgz oci://ghcr.io/your-username/your-repo/charts
Error: chart illegally contains content outside the base directory: "myfile"
helm push myfile-0.1.0.tgz oci://ghcr.io/your-username/your-repo/charts
Error: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://ghcr.io/token .../...e =ghcr.io: 403 Forbidden

Activities[edit]

Related[edit]

See also[edit]

Advertising: