Skip to content

Commit

Permalink
Use alpine image in GitLab Ci README example
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Oct 17, 2021
1 parent 990553a commit a70d401
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Use the following Job template to publish the docs:

```yaml
deploy-docs:
image: ghcr.io/docat-org/docatl:latest
image: ghcr.io/docat-org/docatl:latest-alpine
variables:
DOCATL_HOST: https://docat.company.io
DOCATL_API_KEY: blabla
Expand All @@ -97,7 +97,7 @@ Automatically tag with `latest`:

```yaml
deploy-docs:
image: ghcr.io/docat-org/docatl:latest
image: ghcr.io/docat-org/docatl:latest-alpine
variables:
DOCATL_HOST: https://docat.company.io
DOCATL_API_KEY: blabla
Expand All @@ -107,6 +107,8 @@ deploy-docs:
- push ./docs --tag latest
```

Note: you must use the `-alpine` variant on the container image, because GitLab Ci needs a shell.

## Configuration

You can configure `docatl` with either command line arguments, env variables and/or a config file (evaluated in that order of precedence).
Expand Down

0 comments on commit a70d401

Please sign in to comment.