Skip to content

Commit

Permalink
ECR
Browse files Browse the repository at this point in the history
  • Loading branch information
gremerritt committed Sep 20, 2023
1 parent 8350ac9 commit 78bb1fa
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
aws-auth: &aws-auth
aws_auth:
aws_access_key_id: $ECR_AWS_ACCESS_KEY_ID
aws_secret_access_key: $ECR_AWS_SECRET_ACCESS_KEY

version: 2.1
jobs:
lint:
docker:
- image: salsify/ruby_ci:2.7.7
- image: $SALSIFY_ECR_REPO/ruby_ci:2.7.7
<<: *aws-auth
working_directory: ~/delayed_job_groups
steps:
- checkout
Expand Down Expand Up @@ -32,7 +38,8 @@ jobs:
ruby_version:
type: string
docker:
- image: salsify/ruby_ci:<< parameters.ruby_version >>
- image: $SALSIFY_ECR_REPO/ruby_ci:<< parameters.ruby_version >>
<<: *aws-auth
environment:
CIRCLE_TEST_REPORTS: "test-results"
BUNDLE_GEMFILE: << parameters.gemfile >>
Expand Down Expand Up @@ -64,8 +71,10 @@ jobs:
workflows:
build:
jobs:
- lint
- lint:
context: Salsify
- test:
context: Salsify
matrix:
parameters:
gemfile:
Expand Down

0 comments on commit 78bb1fa

Please sign in to comment.