Comments (4)
Okay, here is an update. When I login with az acr login -n private-registry
instead of logging in directly using a service principal, it worked properly. The ~/.docker/config.json
now looks like this
{
"auths": {
"private-registry.azurecr.io": {
"auth": "MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwOg==",
"identitytoken": "<redacted>"
}
}
}
It seems a credential helper was used, but I don't see it specified in this file.
from pack.
@tgquan67 could this be the same as #2064 in that client certs are needed (though the pack
command is different)?
It's worth noting, the pack client constructs its keychain here - since pack is optimized for local development, we assume the default keychain is sufficient but perhaps we need something more like the lifecycle keychain which can make use of IaaS credential helpers.
from pack.
@natalieparellano no, these 2 problems are not related, since for normal daily usage, the registry on ACR doesn't require any client certificate.
Edit: it seems you misunderstood my case in both ticket. The cert here is for the server to verify client's identity, not the root cert in case the server is self-signed.
from pack.
since for normal daily usage, the registry on ACR doesn't require any client certificate.
In that case, I suspect the problem is with the default keychain not having the right credentials
perhaps we need something more like the lifecycle keychain which can make use of IaaS credential helpers.
I could be wrong, but maybe this is what we need. Do you have any opinion here?
from pack.
Related Issues (20)
- Upgrade buildpacks/pack to go1.22.2 HOT 4
- `io.buildpacks.builder.metadata` is incorrect for builders that declare `[[run.images]]` in builder.toml
- Windows (WCOW) bug: volume mounts seem not to work correctly when running the 5 phases
- Installation of pack-cli on Ubuntu 24.04 LTS fails HOT 2
- Add a new `--platform` or `--target` flag to `pack build` command to avoid breaking M1 workflow users after multi-platform is released HOT 1
- Upgrade buildpacks/pack to go1.22.3 HOT 2
- Feat: PR Title Validation
- `pack extension package` should be able to create multi-arch images for extensions HOT 1
- Validation of lifecycle image os/arch should be more flexible
- Pack Build Fails with Extensions HOT 3
- Publishing wrong architecture for `macos` intel binaries HOT 1
- Pack `0.34.0` was not released in Dockerhub
- `archive/tar: write too long` error when using Docker Desktop containerd backend HOT 3
- Inconsistent parameter naming for target architecture HOT 2
- Creation of non-functional multi-arch buildpackage file when target is not specified. HOT 2
- Create a multi-arch buildpackage file instead of a buildpackage file for each target
- Arch Linux `pack-cli` delivery pipeline is failing HOT 2
- Upgrade buildpacks/pack to go1.22.3 HOT 1
- Add --path flag to pack extension package HOT 4
- Upgrade buildpacks/pack to go1.22.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pack.