Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Add missing unset command for aws cli (gravitational#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
logand22 authored Dec 2, 2022
1 parent 9e8ba8b commit 6c0896e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .cloudbuild/publish-image-ecr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ fi
docker logout 146628656107.dkr.ecr.us-west-2.amazonaws.com
export AWS_ACCESS_KEY_ID=$PRODUCTION_DOCS_ECR_KEY
export AWS_SECRET_ACCESS_KEY=$PRODUCTION_DOCS_ECR_SECRET
unset AWS_SESSION_TOKEN

PRODUCTION_ASSUME_OUTPUT=$(aws sts assume-role --role-arn $PRODUCTION_DOCS_ASSUME_ROLE --role-session-name AWSCLI-Session-Docs-Publish-Image --output json)

Expand Down

0 comments on commit 6c0896e

Please sign in to comment.