Update .gitlab-ci.yml file
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
|
||||
stages:
|
||||
- 'test'
|
||||
- 'code_quality'
|
||||
- 'build'
|
||||
- 'deploy'
|
||||
- 'push'
|
||||
|
||||
pytest:
|
||||
@@ -39,7 +37,7 @@ make_image:
|
||||
stage: build
|
||||
image: docker:26.1.3-dind
|
||||
services:
|
||||
- dind
|
||||
- docker:26.1.3-dind
|
||||
before_script:
|
||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||
|
||||
@@ -69,9 +67,6 @@ Push latest:
|
||||
# We do not need GitLab to clone the source code.
|
||||
GIT_STRATEGY: none
|
||||
stage: push
|
||||
only:
|
||||
# Only "master" should be tagged "latest"
|
||||
- master
|
||||
script:
|
||||
# Because we have no guarantee that this job will be picked up by the same runner
|
||||
# that built the image in the previous step, we pull it again locally
|
||||
|
||||
Reference in New Issue
Block a user