Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: torredil <[email protected]>
  • Loading branch information
torredil committed Apr 9, 2024
1 parent 235d404 commit b2b63e9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hack/e2e/ecr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ function ecr_build_and_push() {
IMAGE_TAG=${4}
IMAGE_ARCH=${5}

loudecho "Retrieving caller identity"
aws sts get-caller-identity

loudecho "echo list-user-policies"
aws iam list-role-policies --role-name aws-shared-testing-role

loudecho "echo list-attached-user-policies"
aws iam list-attached-role-policies --role-name aws-shared-testing-role

loudecho "Building and pushing test driver image to ${IMAGE_NAME}:${IMAGE_TAG}"
aws ecr get-login-password --region "${REGION}" | docker login --username AWS --password-stdin "${AWS_ACCOUNT_ID}.dkr.ecr.${REGION}.amazonaws.com"

Expand Down

0 comments on commit b2b63e9

Please sign in to comment.