Run tests in image build one step above using latest tag

This commit is contained in:
Daniel Schädler 2019-06-20 22:46:26 +02:00
parent a305a838fd
commit d137340da5
1 changed files with 3 additions and 3 deletions

View File

@ -23,10 +23,10 @@ kaniko:
rails spec:
stage: test
image: docker:stable
image: registry.gitlab.com/turniere/turniere-backend/test
script:
- docker info
- docker run $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
- bundle exec rails db:migrate
- bundle exec rails spec
kubernetes:
stage: deploy