Skip to content

Commit

Permalink
Delete AWS_REGION env var as a permitted way to set AWS region
Browse files Browse the repository at this point in the history
  • Loading branch information
abronin committed Nov 20, 2020
1 parent 948ba02 commit 401aa89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ name: ci
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
on:
push:
Expand All @@ -33,6 +32,7 @@ jobs:
- name: Retag test/image:dev as test/image:staging and test/image:production
uses: abronin/ecr-retag-action@v1
with:
aws-region: us-west-2
repository: test/image
tag: dev
new-tags: staging, production
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ branding:
inputs:
aws-region:
description: 'AWS Region (e.g. us-east-2; not required if you provide AWS_REGION env variable)'
required: false
required: true
repository:
description: 'ECR repository name (e.g. namespace/image)'
required: true
Expand Down

0 comments on commit 401aa89

Please sign in to comment.