Skip to content

Commit b0cdfc8

Browse files
authored
Update README.md
1 parent 9e8616e commit b0cdfc8

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
# Description
22
Copy-Paste Ready™ how-to for using private [Gitlab Container Registry](https://docs.gitlab.com/ce/user/project/container_registry.html) with [Kubernetes](https://kubernetes.io).
33

4-
#### Create env file with credentials
5-
4+
#### Copy and edit example env file accordingly
65
```bash
7-
cat <<EOF >dockercfg.env
8-
export DOCKER_REGISTRY_SERVER=<registry_url>
9-
export DOCKER_USER=<username>
10-
export DOCKER_PASSWORD=<password>
11-
export DOCKER_EMAIL=<email>
12-
export DOCKER_IMAGE_PATH=<image_path_with_tag>
13-
EOF
6+
cp dockercfg.env.example dockercfg.env
147
```
158

16-
#### Edit accordingly
17-
See [dockercfg.env.example](https://github.com/jugatsu/gitlab-registry-kubernetes-secrets-howto/blob/master/dockercfg.env.example)
18-
199
#### Export variables from dockercfg.env
2010
```bash
2111
eval $(cat dockercfg.env)

0 commit comments

Comments
 (0)