mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 06:22:53 +00:00
refactor: generalize docker image name
This commit is contained in:
@@ -80,10 +80,10 @@ docker:
|
|||||||
- docker:dind
|
- docker:dind
|
||||||
script:
|
script:
|
||||||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
|
- 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 build -t registry.gitlab.com/openstapps/api/cli:$CI_BUILD_REF_NAME .
|
||||||
- docker push registry.gitlab.com/openstapps/api/copy:$CI_BUILD_REF_NAME
|
- docker push registry.gitlab.com/openstapps/api/cli:$CI_BUILD_REF_NAME
|
||||||
- docker build -t registry.gitlab.com/openstapps/api/copy:latest .
|
- docker build -t registry.gitlab.com/openstapps/api/cli:latest .
|
||||||
- docker push registry.gitlab.com/openstapps/api/copy:latest
|
- docker push registry.gitlab.com/openstapps/api/cli:latest
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
only:
|
only:
|
||||||
|
|||||||
@@ -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`:
|
with docker when backend is running on `localhost:3000`:
|
||||||
|
|
||||||
```shell
|
```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:
|
Or using `e2e` command:
|
||||||
|
|
||||||
```shell
|
```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
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user