v3.6.4
===================================================================== --- Changes ------------------------------ - Introduced lazy environment variable checking on ECR_LOGIN
This commit is contained in:
parent
f8ccce9285
commit
531aa52146
@ -4,16 +4,15 @@ DEPENDENCIES+=(
|
|||||||
docker
|
docker
|
||||||
)
|
)
|
||||||
|
|
||||||
REQUIRED_ENV+=(
|
REQUIRED_ENV+=()
|
||||||
AWS_ACCOUNT
|
|
||||||
AWS_REGION
|
|
||||||
)
|
|
||||||
|
|
||||||
use cloud/aws/cli
|
use cloud/aws/cli
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
ECR_LOGIN() {
|
ECR_LOGIN() {
|
||||||
|
REQUIRED_ENV=(AWS_REGION AWS_ACCOUNT) CHECK_ENVIRONMENT || return 1
|
||||||
|
|
||||||
STATUS "performing AWS ECR docker login"
|
STATUS "performing AWS ECR docker login"
|
||||||
AWS ecr get-login-password \
|
AWS ecr get-login-password \
|
||||||
| docker login \
|
| docker login \
|
||||||
|
Loading…
Reference in New Issue
Block a user