We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
jf docker push return 403 with block policy. I guess this is an Accept head issue of - https://github.com/jfrog/jfrog-cli-core/blame/39b06f70b0887855cf8fc692a4935da014e23fe8/artifactory/utils/container/image.go#L135
jf docker push failed. $ jf docker push xx/docker-local/test:v1 ... v1: digest: sha256:e7f0bc939c6fdc86f737267b3d52412401e82c711251f70a02a6bc5bab509477 size: 1776 [🚨Error] error while getting docker repository name. Artifactory response: 403 Forbidden
$ create a Dockerfile FROM nginx:1.21 RUN ls $ docker build -t xx/docker-local/test:v1 . $ jf c add xx $ docker login xx // create a policy to block download and block unscan artfiacts. $ jf docker push xx/docker-local/test:v1 ... v1: digest: sha256:e7f0bc939c6fdc86f737267b3d52412401e82c711251f70a02a6bc5bab509477 size: 1776 [🚨Error] error while getting docker repository name. Artifactory response: 403 Forbidden
jf docker push will return 200
latest
2.52.6
Mac/Linux
7.x
3.x
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
jf docker push return 403 with block policy.
I guess this is an Accept head issue of - https://github.com/jfrog/jfrog-cli-core/blame/39b06f70b0887855cf8fc692a4935da014e23fe8/artifactory/utils/container/image.go#L135
Current behavior
jf docker push failed.
$ jf docker push xx/docker-local/test:v1
...
v1: digest: sha256:e7f0bc939c6fdc86f737267b3d52412401e82c711251f70a02a6bc5bab509477 size: 1776
[🚨Error] error while getting docker repository name. Artifactory response: 403 Forbidden
Reproduction steps
$ create a Dockerfile
FROM nginx:1.21
RUN ls
$ docker build -t xx/docker-local/test:v1 .
$ jf c add xx
$ docker login xx
// create a policy to block download and block unscan artfiacts.
$ jf docker push xx/docker-local/test:v1
...
v1: digest: sha256:e7f0bc939c6fdc86f737267b3d52412401e82c711251f70a02a6bc5bab509477 size: 1776
[🚨Error] error while getting docker repository name. Artifactory response: 403 Forbidden
Expected behavior
jf docker push will return 200
JFrog CLI-Core version
latest
JFrog CLI version (if applicable)
2.52.6
Operating system type and version
Mac/Linux
JFrog Artifactory version
7.x
JFrog Xray version
3.x
The text was updated successfully, but these errors were encountered: