You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-12Lines changed: 2 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,11 @@
1
1
# Description
2
2
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).
3
3
4
-
#### Create env file with credentials
5
-
4
+
#### Copy and edit example env file accordingly
6
5
```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
14
7
```
15
8
16
-
#### Edit accordingly
17
-
See [dockercfg.env.example](https://github.com/jugatsu/gitlab-registry-kubernetes-secrets-howto/blob/master/dockercfg.env.example)
0 commit comments