dependencies: build: - ruby:2.6.0 build_targets: - name: release container: image: yourbase/yb_ubuntu:16.04 commands: - gem install bundler - bundle install - bundle exec rake - bash release.sh - name: test container: image: yourbase/yb_ubuntu:16.04 commands: - gem install bundler - bundle install - bundle exec rake ci: builds: - name: run_tests build_target: test when: tagged IS false - name: do_release build_target: release when: tagged IS true