diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c407b69..07a46e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ build: - docker build --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} . - docker push ${CI_REGISTRY_IMAGE}:${VERSION} - docker push ${CI_REGISTRY_IMAGE}:${CACHETAG} - - if [ -n "${TRIGGER_PIPELINE}" ]; then curl -X POST -F token=${TRIGGER_PIPELINE} -F ref=x86_64-extras http://dev.leenooks.net/api/v4/projects/45/trigger/pipeline; fi + - if [ -n "${TRIGGER_PIPELINE}" ]; then curl -sSX POST -F token=${TRIGGER_PIPELINE} -F ref=x86_64-extras http://dev.leenooks.net/api/v4/projects/45/trigger/pipeline > /dev/null; fi tags: - docker only: diff --git a/README.md b/README.md index 098954e..a3d4321 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ To use this container: | :- | :-- | | -d | Detached mode: run the container in the background and print the new container ID. | | -i | Keep STDIN open even if not attached. (required) | - | -n | Give your container a specific name. (optional) | + | --name= | Give your container a specific name. (optional) | | -p | Map host ports to container ports. (may be required, otherwise recommended) | | -t | Allocate a pseudo-TTY. (required) | | -v | Map a path on the host into the container (optional but recommended). |