Skip to content

Instantly share code, notes, and snippets.

@ThomasVitale
Created March 15, 2023 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThomasVitale/7ca984e96a3bc6c422ced0c5c59c4927 to your computer and use it in GitHub Desktop.
Save ThomasVitale/7ca984e96a3bc6c422ced0c5c59c4927 to your computer and use it in GitHub Desktop.
# Imgpkg => https://carvel.dev/imgpkg
imgpkg copy \
-i docker.io/thomasvitale/book-service:1.0 \
--to-repo ghcr.io/thomasvitale/book-service \
--cosign-signatures
# Skopeo => https://github.com/containers/skopeo
skopeo copy \
docker://docker.io/thomasvitale/book-service:1.0 \
docker://quay.io/thomasvitale/book-service:1.0
# Crane https://github.com/google/go-containerregistry/blob/main/cmd/crane
crane cp \
docker.io/thomasvitale/book-service:1.0 \
ghcr.io/thomasvitale/book-service:1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment