diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1734cf..b7a4954 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,5 @@ stages: + - test - build - release @@ -8,7 +9,7 @@ test:build: tags: - build - test - image: docker:latest + image: docker:stable script: - docker build . interruptible: true @@ -17,11 +18,11 @@ test:build: # Push images of tags to private registry release:image: - stage: build + stage: release tags: - build - release - image: docker:latest + image: docker:stable script: - docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" "${DOCKER_REGISTRY_HOST}" - echo "Building image..."