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

use destImageURL and minor nit fixes #1

Merged
merged 1 commit into from
Apr 16, 2023

Conversation

ajayk
Copy link
Contributor

@ajayk ajayk commented Apr 16, 2023

Failure to push image

➜  certko git:(main) ✗ ./certko --image-url=cgr.dev/chainguard/wolfi-base --ca-certs-file mycert.pem --dest-image-url docker.io/ajaykemparaj/wolfi-base:with-certs-test-2

2023/04/16 11:43:05 Failed to push modified image cgr.dev/chainguard/wolfi-base:withcerts: GET https://cgr.dev/token?scope=repository%3Achainguard%2Fwolfi-base%3Apush%2Cpull&service=cgr.dev: FORBIDDEN: Forbidden

After fix

➜  certko git:(main) ✗ ./certko --image-url=cgr.dev/chainguard/wolfi-base --ca-certs-file mycert.pem --dest-image-url docker.io/ajaykemparaj/wolfi-base:with-certs-test

Successfully appended CA certificates to image docker.io/ajaykemparaj/wolfi-base:with-certs-test
docker.io/ajaykemparaj/wolfi-base:with-certs-test@sha256:a2405d73c3d1c06b38ad80695e013720f562360aa7d2bf3e9a28960ac7288388
➜  certko git:(main) ✗ ./certko --image-url=cgr.dev/chainguard/wolfi-base --ca-certs-file mycert.pem --dest-image-url docker.io/ajaykemparaj/wolfi-base:with-certs-test-2

Successfully appended CA certificates to image docker.io/ajaykemparaj/wolfi-base:with-certs-test-2
docker.io/ajaykemparaj/wolfi-base:with-certs-test-2@sha256:a2405d73c3d1c06b38ad80695e013720f562360aa7d2bf3e9a28960ac7288388

@dlorenc dlorenc merged commit 51ef93f into chainguard-dev:main Apr 16, 2023
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

Successfully merging this pull request may close these issues.

2 participants