mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Update with more options for registry login
This commit is contained in:
parent
6b24b09c81
commit
cb3f6386c9
@ -46,6 +46,15 @@ When you have this just run:
|
|||||||
```bash
|
```bash
|
||||||
$ docker login registry.gitlab.com -u <username> -p <token>
|
$ docker login registry.gitlab.com -u <username> -p <token>
|
||||||
```
|
```
|
||||||
|
or
|
||||||
|
```bash
|
||||||
|
$ echo <token> | docker login registry.gitlab.com -u <username> --password-stdin
|
||||||
|
```
|
||||||
|
or
|
||||||
|
```bash
|
||||||
|
$ cat ~/my_password.txt | docker login registry.gitlab.com -u <username> --password-stdin
|
||||||
|
```
|
||||||
|
|
||||||
Then use one of the following methods:
|
Then use one of the following methods:
|
||||||
#### docker-compose.yml
|
#### docker-compose.yml
|
||||||
```yml
|
```yml
|
||||||
|
Loading…
Reference in New Issue
Block a user