Replies: 1 comment 2 replies
-
|
@a1flecke that is interesting - are you able to do a successful build without the use of The place where |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to use
--cache-imagewith a private AWS ECR. I keep getting a 401 Unauthorized when running pack:docker run \ --platform linux/amd64 \ --privileged \ -u root \ -v /var/run/docker.sock:/var/run/docker.sock \ -v $PWD:/workspace \ -w /workspace buildpacksio/pack build test-pack \ --builder paketobuildpacks/builder:tiny \ --buildpack paketo-buildpacks/amazon-corretto \ --buildpack paketo-buildpacks/java \ --cache-image ***REDACTED_DOCKER_REGISTRY***/***REDACTED_DOCKER_REPOSITORY***:1 \ --env BP_MAVEN_SETTINGS_PATH=/platform/bindings/settings.xml \ --env ARTIFACTORY_USERNAME=$ARTIFACTORY_USERNAME \ --env ARTIFACTORY_TOKEN=$ARTIFACTORY_TOKEN \ --env BP_MAVEN_BUILD_ARGUMENTS="-Dmaven.repo.local=/platform/bindings/java/maven/binding/repository -Dmaven.test.skip=true --no-transfer-progress package --batch-mode" \ --env BP_JVM_JLINK_ENABLED=true \ --volume $HOME/.m2/settings.xml:/platform/bindings/settings.xml \ --volume $HOME/.m2/repository:/platform/bindings/java/maven/binding/repository \ --publishError:
Outside of pack I confirmed that I can both pull and push images from the docker URI that I specified in the pack command. I have two questions:
--cache-imagedocker uri value and translate it to the HTTP url used in the GET request specified in the error message? I looked and could not find itThank you for your help,
Aaron
Beta Was this translation helpful? Give feedback.
All reactions