From 466836cfd0c2894f61fcc0bebc9e28da8c03a3eb Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Tue, 10 Dec 2019 13:56:19 +0100 Subject: [PATCH] refactor: generalize docker image name --- .gitlab-ci.yml | 8 ++++---- README.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 556b274c..00365ccd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,10 +80,10 @@ docker: - docker:dind script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com - - docker build -t registry.gitlab.com/openstapps/api/copy:$CI_BUILD_REF_NAME . - - docker push registry.gitlab.com/openstapps/api/copy:$CI_BUILD_REF_NAME - - docker build -t registry.gitlab.com/openstapps/api/copy:latest . - - docker push registry.gitlab.com/openstapps/api/copy:latest + - docker build -t registry.gitlab.com/openstapps/api/cli:$CI_BUILD_REF_NAME . + - docker push registry.gitlab.com/openstapps/api/cli:$CI_BUILD_REF_NAME + - docker build -t registry.gitlab.com/openstapps/api/cli:latest . + - docker push registry.gitlab.com/openstapps/api/cli:latest tags: - docker only: diff --git a/README.md b/README.md index d0e16728..83102aea 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,11 @@ The only available option for `e2e` command. File path to json test files each c with docker when backend is running on `localhost:3000`: ```shell -docker run --net=host registry.gitlab.com/openstapps/api/copy copy Place https://stappsbe01.innocampus.tu-berlin.de http://localhost:3000 100 +docker run --net=host registry.gitlab.com/openstapps/api/cli copy Place https://stappsbe01.innocampus.tu-berlin.de http://localhost:3000 100 ``` Or using `e2e` command: ```shell -docker run --net=host registry.gitlab.com/openstapps/api/copy e2e http://localhost:3000 +docker run --net=host registry.gitlab.com/openstapps/api/cli e2e http://localhost:3000 ``` \ No newline at end of file