From 3f2d6093d0f11b6dcd6a04a4acbd15cb9fd64935 Mon Sep 17 00:00:00 2001 From: bacon Date: Wed, 29 May 2024 22:19:33 +0300 Subject: [PATCH] testing registry --- .gitlab-ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b48f3f..7cf93fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,8 +31,7 @@ variables: make_image: stage: build - needs: - - pytest + needs: ['pytest'] image: docker:26.1.3 only: # We want this job to be run on tags only. @@ -75,7 +74,7 @@ make_image: # Here, the goal is to tag the "master" branch as "latest" Push latest: - needs: make_image + needs: ['make_image'] variables: # We are just playing with Docker here. # We do not need GitLab to clone the source code. @@ -104,7 +103,7 @@ Push latest: # Finally, the goal here is to Docker tag any Git tag # GitLab will start a new pipeline everytime a Git tag is created, which is pretty awesome Push commit: - needs: make_image + needs: ['make_image'] variables: # Again, we do not need the source code here. Just playing with Docker. GIT_STRATEGY: none @@ -132,7 +131,7 @@ Push commit: - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME Push tag: - needs: make_image + needs: ['make_image'] variables: # Again, we do not need the source code here. Just playing with Docker. GIT_STRATEGY: none