diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b77a92a..a7fb560 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,9 +16,8 @@ kaniko: rails spec: stage: test - image: ruby:2.6.2 + image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA script: - - bundle install --path /cache - bundle exec rails db:migrate RAILS_ENV=test - bundle exec rails spec