Skip to content

Commit d81b847

Browse files
xelab04eznix86
authored andcommitted
docs: add authentication instructions to readme (#43)
1 parent 64e51b5 commit d81b847

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,24 @@ env:
8686
8787
---
8888
89+
## Authentication
90+
91+
For registries with authentication, you must add the auth environment variable as a base64 encoded value of `username:password`
92+
93+
```bash
94+
echo -n "username:password" | base64
95+
# dXNlcm5hbWU6cGFzc3dvcmQ=
96+
```
97+
98+
Afterwards, use this value through the following environment variables:
99+
100+
```bash
101+
REGISTRY_URL=https://registry.test
102+
REGISTRY_AUTH=dXNlcm5hbWU6cGFzc3dvcmQ=
103+
```
104+
105+
---
106+
89107
## Multiple Registry Support
90108

91109
The UI supports connections to multiple registries. Configure them via environment variables with suffixes:

0 commit comments

Comments
 (0)