Sha256: 4cb56f33a1c1a5cc559d2d200579c144cbee88dddfeac2745f333d8e476aabd0
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
defaults: &defaults working_directory: /tmp version: 2 jobs: build: machine: true steps: - checkout - add_ssh_keys - run: bundle --gemfile='.circleci/Gemfile' - run: handsome_fencer-circle_c_i expose development - run: handsome_fencer-circle_c_i expose circle - run: echo 'source .circleci/circle.env' >> $BASH_ENV - run: docker-compose build - run: docker-compose up -d - run: docker-compose exec app bin/rails db:create db:migrate - run: docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS - run: name: Tag app image command: docker tag $(docker images | grep project_app | awk '{ print $3 }') ${DOCKERHUB_ORG_NAME}/${APP_NAME}_app:$DEPLOY_TAG - run: name: Tag web image command: docker tag $(docker images | grep project_web | awk '{ print $3 }') ${DOCKERHUB_ORG_NAME}/${APP_NAME}_web:$DEPLOY_TAG - run: docker push ${DOCKERHUB_ORG_NAME}/${APP_NAME}_app:$DEPLOY_TAG - run: docker push ${DOCKERHUB_ORG_NAME}/${APP_NAME}_web:$DEPLOY_TAG - run: rake --rakefile .circleci/Rakefile
Version data entries
3 entries across 3 versions & 1 rubygems