From fd547267b75901a82755441a955f15f6d25744f3 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 5 Apr 2020 22:20:36 +1000 Subject: [PATCH] Fixed trigger curl and readme updates --- .gitlab-ci.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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). |