mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Remove registry authentication section
Won't be required on public release.
This commit is contained in:
parent
2e40552b65
commit
ef87ee5525
23
README.md
23
README.md
@ -61,29 +61,10 @@ The image is located at: `registry.gitlab.com/crafty-controller/crafty-4:latest`
|
|||||||
| :latest | [![pipeline status](https://gitlab.com/crafty-controller/crafty-4/badges/master/pipeline.svg)](https://gitlab.com/crafty-controller/crafty-4/-/commits/master) |
|
| :latest | [![pipeline status](https://gitlab.com/crafty-controller/crafty-4/badges/master/pipeline.svg)](https://gitlab.com/crafty-controller/crafty-4/-/commits/master) |
|
||||||
| :dev | [![pipeline status](https://gitlab.com/crafty-controller/crafty-4/badges/dev/pipeline.svg)](https://gitlab.com/crafty-controller/crafty-4/-/commits/dev) |
|
| :dev | [![pipeline status](https://gitlab.com/crafty-controller/crafty-4/badges/dev/pipeline.svg)](https://gitlab.com/crafty-controller/crafty-4/-/commits/dev) |
|
||||||
|
|
||||||
While the repository is still **private / pre-release**,
|
<br>
|
||||||
Before you can pull the image you must authenticate docker with the Container Registry.
|
|
||||||
|
|
||||||
To authenticate you will need a [personal access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html)
|
**Here are some example methods for getting started🚀:**
|
||||||
with the minimum scope:
|
|
||||||
|
|
||||||
- For read (*pull*) access, `read_registry`.
|
|
||||||
- For write (*push*) access, `write_registry`.
|
|
||||||
|
|
||||||
When you have this just run:
|
|
||||||
```bash
|
|
||||||
$ 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:
|
|
||||||
### **docker-compose.yml:**
|
### **docker-compose.yml:**
|
||||||
```sh
|
```sh
|
||||||
# Make your compose file
|
# Make your compose file
|
||||||
|
Loading…
Reference in New Issue
Block a user