Skip to content

Commit

Permalink
adding the image push to AWS/ECR action
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Jul 24, 2023
1 parent 4df98c4 commit 5d8da52
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/image-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,14 @@ jobs:
tags: |
${{ env.REGISTRY }}:latest
${{ env.REGISTRY }}:${{ steps.get_version.outputs.VERSION }}
# push the image to AWS/ECR
- name: Push the built image to the AWS/ECR registry
id: ecr
uses: jwalton/gh-ecr-push@v1
with:
access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
region: us-east-2
local-image: ${{ env.REGISTRY }}:${{ steps.get_version.outputs.VERSION }}
image: apsviz-ui-data:latest, apsviz-ui-data:${{ steps.get_version.outputs.VERSION }}

0 comments on commit 5d8da52

Please sign in to comment.