Groups
Groups
Sign in
Groups
Groups
kaniko-users
Conversations
About
Send feedback
Help
Is there a similar to docker --config for Kaniko?
34 views
Skip to first unread message
Gerência Qualidade
unread,
Jul 30, 2024, 10:50:33 PM
7/30/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kaniko-users
Hi all.
Using
docker build
and
docker push
,
You can use the --config option of the Docker client to store multiple credentials into different paths.
docker --config ~/.project1 login
registry.example.com
-u <username> -p <deploy_token> docker --config ~/.project2 login
registry.example.com
-u <username> -p <deploy_token>
docker --config ~/.project1 pull
registry.example.com/project1
docker --config ~/.project2 pull
registry.example.com/project2
How to use multiple auths/ logins for same docker registry
I am using this with Docker and I would like to migrate to Kaniko.
Is it possible to do that with Kaniko?
Thank in advance,
--
Glauber Ferreira
Gerência Qualidade
unread,
Jul 30, 2024, 10:53:43 PM
7/30/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kaniko-users
Adjusting line break for better understanding...
docker --config ~/.project1 login
registry.example.com
-u <username> -p <deploy_token>
docker --config ~/.project2 login
registry.example.com
-u <username> -p <deploy_token>
docker --config ~/.project1 pull
registry.example.com/project1
docker --config ~/.project2 pull
registry.example.com/project2
Reply all
Reply to author
Forward
0 new messages