Skip to content
Snippets Groups Projects
Commit 2adad659 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Use different image names instead of tags only: also when pushing to gitlab registry

parent bb524b94
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -17,7 +17,7 @@ build-test-image: ...@@ -17,7 +17,7 @@ build-test-image:
- apk update ; apk add git - apk update ; apk add git
- git checkout master -- requirements.txt - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/testing-ubuntu" for_tests - docker build --pull -t "$CI_REGISTRY_IMAGE/testing-ubuntu" for_tests
- docker push "$CI_REGISTRY_IMAGE:testing-ubuntu" - docker push "$CI_REGISTRY_IMAGE/testing-ubuntu"
build-install-base: build-install-base:
only: only:
...@@ -27,7 +27,7 @@ build-install-base: ...@@ -27,7 +27,7 @@ build-install-base:
- apk update ; apk add git - apk update ; apk add git
- git checkout master -- requirements.txt - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-base" for_build/basics - docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-base" for_build/basics
- docker push "$CI_REGISTRY_IMAGE:install-ubuntu-base" - docker push "$CI_REGISTRY_IMAGE/install-ubuntu-base"
build-install-barrnap: build-install-barrnap:
only: only:
...@@ -37,7 +37,7 @@ build-install-barrnap: ...@@ -37,7 +37,7 @@ build-install-barrnap:
- apk update ; apk add git - apk update ; apk add git
- git checkout master -- requirements.txt - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-barrnapOnly" for_build/barrnap_only - docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-barrnapOnly" for_build/barrnap_only
- docker push "$CI_REGISTRY_IMAGE:install-ubuntu-barrnapOnly" - docker push "$CI_REGISTRY_IMAGE/install-ubuntu-barrnapOnly"
build-install-prokka: build-install-prokka:
only: only:
...@@ -47,4 +47,4 @@ build-install-prokka: ...@@ -47,4 +47,4 @@ build-install-prokka:
- apk update ; apk add git - apk update ; apk add git
- git checkout master -- requirements.txt - git checkout master -- requirements.txt
- docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-prokkaOnly" for_build/prokka_only - docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-prokkaOnly" for_build/prokka_only
- docker push "$CI_REGISTRY_IMAGE:install-ubuntu-prokkaOnly" - docker push "$CI_REGISTRY_IMAGE/install-ubuntu-prokkaOnly"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment