diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df235dd..8544f6e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,21 +14,3 @@ test: stage: test script: - docker run short-build -v - - docker tag short-build tandrade/short:latest -deploy: - before_script: - - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" - stage: deploy - script: - - docker push tandrade/short:latest - only: - - master -release: - before_script: - - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" - stage: release - script: - - docker tag short-build tandrade/short:$DOCKER_TAG - - docker push tandrade/short:$DOCKER_TAG - only: - - tags \ No newline at end of file