diff --git a/.circleci/config.yml b/.circleci/config.yml index 39de3cf..9a1eadb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,10 @@ version: 2 jobs: generate-and-push-docs: docker: - - image: circleci/ruby:2.7.1 + - image: circleci/ruby:2.7.2 + auth: + username: "$DOCKERHUB_USERNAME" + password: "$DOCKERHUB_PASSWORD" steps: - checkout - run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN @@ -23,7 +26,10 @@ jobs: docs:push; fi release: docker: - - image: circleci/ruby:2.7.1 + - image: circleci/ruby:2.7.2 + auth: + username: "$DOCKERHUB_USERNAME" + password: "$DOCKERHUB_PASSWORD" steps: - checkout - run: bundle config stitchfix01.jfrog.io $ARTIFACTORY_USER:$ARTIFACTORY_TOKEN @@ -35,9 +41,12 @@ jobs: - run: name: Build/release gem to artifactory command: bundle exec rake push_artifactory - ruby-2.7.1-rails-6.0: + ruby-2.7.2-rails-6.0: docker: - - image: circleci/ruby:2.7.1 + - image: circleci/ruby:2.7.2 + auth: + username: "$DOCKERHUB_USERNAME" + password: "$DOCKERHUB_PASSWORD" environment: BUNDLE_GEMFILE: Gemfile.rails-6.0 working_directory: "~/stitches" @@ -65,6 +74,9 @@ jobs: ruby-2.6.6-rails-6.0: docker: - image: circleci/ruby:2.6.6 + auth: + username: "$DOCKERHUB_USERNAME" + password: "$DOCKERHUB_PASSWORD" environment: BUNDLE_GEMFILE: Gemfile.rails-6.0 working_directory: "~/stitches" @@ -89,9 +101,12 @@ jobs: when: on_fail - store_test_results: path: "/tmp/test-results" - ruby-2.7.1-rails-5.2: + ruby-2.7.2-rails-5.2: docker: - - image: circleci/ruby:2.7.1 + - image: circleci/ruby:2.7.2 + auth: + username: "$DOCKERHUB_USERNAME" + password: "$DOCKERHUB_PASSWORD" environment: BUNDLE_GEMFILE: Gemfile.rails-5.2 working_directory: "~/stitches" @@ -119,6 +134,9 @@ jobs: ruby-2.6.6-rails-5.2: docker: - image: circleci/ruby:2.6.6 + auth: + username: "$DOCKERHUB_USERNAME" + password: "$DOCKERHUB_PASSWORD" environment: BUNDLE_GEMFILE: Gemfile.rails-5.2 working_directory: "~/stitches" @@ -150,9 +168,9 @@ workflows: - release: context: org-global requires: - - ruby-2.7.1-rails-6.0 + - ruby-2.7.2-rails-6.0 - ruby-2.6.6-rails-6.0 - - ruby-2.7.1-rails-5.2 + - ruby-2.7.2-rails-5.2 - ruby-2.6.6-rails-5.2 filters: tags: @@ -168,7 +186,7 @@ workflows: only: /^[0-9]+\.[0-9]+\.[0-9]+(\.?(RC|rc)[-\.]?\w*)?$/ branches: ignore: /.*/ - - ruby-2.7.1-rails-6.0: + - ruby-2.7.2-rails-6.0: context: org-global filters: tags: @@ -178,7 +196,7 @@ workflows: filters: tags: only: *1 - - ruby-2.7.1-rails-5.2: + - ruby-2.7.2-rails-5.2: context: org-global filters: tags: @@ -197,11 +215,11 @@ workflows: only: - master jobs: - - ruby-2.7.1-rails-6.0: + - ruby-2.7.2-rails-6.0: context: org-global - ruby-2.6.6-rails-6.0: context: org-global - - ruby-2.7.1-rails-5.2: + - ruby-2.7.2-rails-5.2: context: org-global - ruby-2.6.6-rails-5.2: context: org-global