fix(container): use git tags as-is
This commit is contained in:
parent
c9ea33ac91
commit
a72597dcac
|
@ -56,7 +56,7 @@ stages:
|
|||
variables: &vars-docker
|
||||
DOCKER_DRIVER: overlay2
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
IMAGE_TAG: ssube/salty-dog:$CI_COMMIT_REF_SLUG
|
||||
IMAGE_TAG: ssube/salty-dog:${CI_COMMIT_TAG:-${CI_COMMIT_REF_SLUG}}
|
||||
|
||||
.build-node: &build-node
|
||||
image: apextoaster/node:11.15
|
||||
|
|
|
@ -119,8 +119,7 @@ To run with Docker: `docker run --rm ssube/salty-dog:master`
|
|||
The latest semi-stable image is `ssube/salty-dog:master`. All
|
||||
[tags are listed here](https://cloud.docker.com/repository/docker/ssube/salty-dog/tags).
|
||||
|
||||
The Docker container is published for each branch and git tag, tagged with the version slug (`.` replaced with `-`,
|
||||
mostly).
|
||||
The Docker container is published for each branch and git tag, tagged with the git tag (or branch slug).
|
||||
|
||||
Rules are baked into the image in `/salty-dog/rules`. To use custom rules, mount them with
|
||||
`-v $(pwd)/rules:/salty-dog/rules:ro` and load with `--rules /rules/foo.yml`.
|
||||
|
|
Loading…
Reference in New Issue