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: rails spec:
stage: test stage: test
image: docker:stable image: registry.gitlab.com/turniere/turniere-backend/test
script: script:
- docker info - bundle exec rails db:migrate
- docker run $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA - bundle exec rails spec
kubernetes: kubernetes:
stage: deploy stage: deploy