Skip to content

Commit

Permalink
Update aws-ecr in example
Browse files Browse the repository at this point in the history
Update usage of parameters and job name
  • Loading branch information
uraway committed Nov 25, 2019
1 parent 76bef73 commit a286fe3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/orb.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ examples:
version: 2.1

orbs:
aws-ecr: circleci/aws-ecr@0.0.4
aws-ecr: circleci/aws-ecr@6.5.0
aws-ecs: circleci/[email protected]

workflows:
build-and-deploy:
jobs:
- aws-ecr/build_and_push_image:
account-url: "${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com"
- aws-ecr/build-and-push-image:
account-url: AWS_ECR_ACCOUNT_URL
repo: "${MY_APP_PREFIX}"
region: "${AWS_REGION}"
region: AWS_REGION
tag: "${CIRCLE_SHA1}"
- aws-ecs/deploy-service-update:
requires:
- aws-ecr/build_and_push_image
- aws-ecr/build-and-push-image
family: "${MY_APP_PREFIX}-service"
cluster-name: "${MY_APP_PREFIX}-cluster"
container-image-name-updates: "container=${MY_APP_PREFIX}-service,tag=${CIRCLE_SHA1}"
Expand Down

0 comments on commit a286fe3

Please sign in to comment.