split creds from main config
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
This commit is contained in:
parent
c18b74d0dd
commit
904b015a6b
2 changed files with 20 additions and 9 deletions
|
|
@ -12,13 +12,12 @@
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"sync": {
|
"sync": {
|
||||||
"enable": true,
|
"enable": true,
|
||||||
|
"credentialsFile": "/shared/zot/creds.json",
|
||||||
"registries": [
|
"registries": [
|
||||||
{
|
{
|
||||||
"urls": ["https://registry-1.docker.io"],
|
"urls": ["https://docker.io"],
|
||||||
"onDemand": true,
|
"onDemand": true,
|
||||||
"tlsVerify": true,
|
"tlsVerify": true,
|
||||||
"username": "{{ZOT_DOCKERHUB_USER}}",
|
|
||||||
"password": "{{ZOT_DOCKERHUB_TOKEN}}",
|
|
||||||
"content": [
|
"content": [
|
||||||
{ "prefix": "docker-hub/**" }
|
{ "prefix": "docker-hub/**" }
|
||||||
]
|
]
|
||||||
|
|
@ -27,8 +26,6 @@
|
||||||
"urls": ["https://ghcr.io"],
|
"urls": ["https://ghcr.io"],
|
||||||
"onDemand": true,
|
"onDemand": true,
|
||||||
"tlsVerify": true,
|
"tlsVerify": true,
|
||||||
"username": "{{ZOT_GITHUB_USER}}",
|
|
||||||
"password": "{{ZOT_GITHUB_TOKEN}}",
|
|
||||||
"content": [
|
"content": [
|
||||||
{ "prefix": "ghcr/**" }
|
{ "prefix": "ghcr/**" }
|
||||||
]
|
]
|
||||||
|
|
@ -37,8 +34,6 @@
|
||||||
"urls": ["https://lscr.io"],
|
"urls": ["https://lscr.io"],
|
||||||
"onDemand": true,
|
"onDemand": true,
|
||||||
"tlsVerify": true,
|
"tlsVerify": true,
|
||||||
"username": "{{ZOT_LSCR_USER}}",
|
|
||||||
"password": "{{ZOT_LSCR_TOKEN}}",
|
|
||||||
"content": [
|
"content": [
|
||||||
{ "prefix": "lscr/**" }
|
{ "prefix": "lscr/**" }
|
||||||
]
|
]
|
||||||
|
|
@ -47,8 +42,6 @@
|
||||||
"urls": ["https://codeberg.org"],
|
"urls": ["https://codeberg.org"],
|
||||||
"onDemand": true,
|
"onDemand": true,
|
||||||
"tlsVerify": true,
|
"tlsVerify": true,
|
||||||
"username": "{{ZOT_CODEBERG_USER}}",
|
|
||||||
"password": "{{ZOT_CODEBERG_TOKEN}}",
|
|
||||||
"content": [
|
"content": [
|
||||||
{ "prefix": "lscr/**" }
|
{ "prefix": "lscr/**" }
|
||||||
]
|
]
|
||||||
|
|
|
||||||
18
lxc1/p2-apps/zot/creds.json
Normal file
18
lxc1/p2-apps/zot/creds.json
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"docker.io": {
|
||||||
|
"username": "${OT_DOCKERHUB_USER}",
|
||||||
|
"password": "${OT_DOCKERHUB_TOKEN}"
|
||||||
|
},
|
||||||
|
"ghcr.io": {
|
||||||
|
"username": "${ZOT_GITHUB_USER}",
|
||||||
|
"password": "${ZOT_GITHUB_TOKEN}"
|
||||||
|
},
|
||||||
|
"lscr.io": {
|
||||||
|
"username": "${ZOT_LSCR_USER}",
|
||||||
|
"password": "${ZOT_GITHUB_TOKEN}"
|
||||||
|
},
|
||||||
|
"codeberg.org": {
|
||||||
|
"username": "${ZOT_CODEBERG_USER}",
|
||||||
|
"password": "${ZOT_CODEBERG_TOKEN}"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue