# Docker With GitLab Secrets
Example usage:
```bash
# Config will default to ~/.dwgs.conf if not specified
docker-with-gitlab-secrets --dwgs-config /somewhere/dwgs.conf --dwgs-project hgi-systems \
--rm --env-file /higher/precedence -e HIGHEST_PRECEDENCE 123 -it run ubuntu bash
```
Example configuration:
```yml
---
gitlab:
url: https://gitlab.example.com
token: my-token
project: hgi-systems # Optional default project, which will be overriden by if `dwgs-project` is specified
namespace: hgi # Optional default namespace
```
## Known Issues
- Docker [cannot pass newlines in variables via `--env-file`](https://github.com/moby/moby/issues/12997). Therefore
GitLab variables
New lines in secret variables
Example usage:
```bash
# Config will default to ~/.dwgs.conf if not specified
docker-with-gitlab-secrets --dwgs-config /somewhere/dwgs.conf --dwgs-project hgi-systems \
--rm --env-file /higher/precedence -e HIGHEST_PRECEDENCE 123 -it run ubuntu bash
```
Example configuration:
```yml
---
gitlab:
url: https://gitlab.example.com
token: my-token
project: hgi-systems # Optional default project, which will be overriden by if `dwgs-project` is specified
namespace: hgi # Optional default namespace
```
## Known Issues
- Docker [cannot pass newlines in variables via `--env-file`](https://github.com/moby/moby/issues/12997). Therefore
GitLab variables
New lines in secret variables
Metadata
Release files for dockerwithgitlabsecrets 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dockerwithgitlabsecrets-0.1.0.tar.gz | 6.6 kB | Details |
Release files / dockerwithgitlabsecrets-0.1.0.tar.gz
| Download URL | dockerwithgitlabsecrets-0.1.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33e20660b81aedbf225e00238ef95ed6173af52f6fcfa1709130f66e67de4e44
|
|
BLAKE2b-256 checksum How to use checksums |
4d53322e81bf167cd5bc269cafe1cc33fb55ab06bebf261a8e444d94089df222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |