Sha256: d7399f91f8cad9d2dcc7b1743828e9c61bafcbd49bb58ad69bac3aac1db756dc

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

  push:
    machine: true
    steps:
      - checkout
      - run: gem install handsome_fencer-circle_c_i
      - run: handsome_fencer-circle_c_i expose circleci
      - run: handsome_fencer-circle_c_i expose development
      - run: echo 'source docker/env_files/circleci.env' >> $BASH_ENV
      - run: cp docker/overrides/circleci.yml docker-compose.override.yml
      - run: docker-compose build
      - 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}/${APP_NAME}_app:$DEPLOY_TAG
      # - run: docker tag $(docker images | grep project_app | awk '{ print $3 }') ${DOCKERHUB_ORG}/${APP_NAME}_app:latest
      - run:
          name: Tag app image
          command: docker tag $(docker images | grep project_web | awk '{ print $3 }') ${DOCKERHUB_ORG}/${APP_NAME}_web:$DEPLOY_TAG
      # - run: docker tag $(docker images | grep project_web | awk '{ print $3 }') ${DOCKERHUB_ORG}/${APP_NAME}_web:latest
      - run: docker push ${DOCKERHUB_ORG}/${APP_NAME}_app:$DEPLOY_TAG
      - run: docker push ${DOCKERHUB_ORG}/${APP_NAME}_app:latest
      - run: docker push ${DOCKERHUB_ORG}/${APP_NAME}_web:$DEPLOY_TAG
      - run: docker push ${DOCKERHUB_ORG}/${APP_NAME}_web:latest

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roro-0.3.17 lib/roro/cli/templates/rails/.circleci/jobs/_push.yml
roro-0.3.16 lib/roro/cli/templates/rails/.circleci/jobs/_push.yml