Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
StewartW authored Aug 24, 2021
1 parent 7c1d506 commit 510b43a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
ECR_REPOSITORY: aws-cdk
IMAGE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
run: |
docker build -t cdk-docker .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push public.ecr.aws/p8j5c2q4/cdk-docker:$IMAGE_TAG
- name: Build, tag, and push image to Amazon ECR
Expand All @@ -46,7 +46,7 @@ jobs:
ECR_REPOSITORY: aws-cdk
IMAGE_TAG: V${{ steps.branch_name.outputs.SOURCE_TAG }}
run: |
docker build -t cdk-docker .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push public.ecr.aws/p8j5c2q4/cdk-docker:$IMAGE_TAG
- name: Build, tag, and push image to Amazon ECR
Expand All @@ -55,6 +55,6 @@ jobs:
ECR_REPOSITORY: aws-cdk
IMAGE_TAG: latest
run: |
docker build -t cdk-docker .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push public.ecr.aws/p8j5c2q4/cdk-docker:$IMAGE_TAG

0 comments on commit 510b43a

Please sign in to comment.