docker run --rm -it v7lin/tencentcloud-cli sh -c "tccli version"
docker run --rm -it -v ${PWD}/.tccli:/root/.tccli v7lin/tencentcloud-cli sh -c "tccli configure"
docker run --rm -it -v ${PWD}/.tccli:/root/.tccli v7lin/tencentcloud-cli sh -c "tccli configure set secretId ${TENCENT_SECRET_ID} secretKey ${TENCENT_SECRET_KEY} region ${TENCENT_REGION} output json && tccli configure list"
docker run --rm -it -v ${PWD}/.tccli:/root/.tccli v7lin/tencentcloud-cli sh -c "tccli configure list"
- name: tencentcloud-cli
image: v7lin/tencentcloud-cli
environment:
TENCENT_SECRET_ID:
from_secret: TENCENT_SECRET_ID
TENCENT_SECRET_KEY:
from_secret: TENCENT_SECRET_KEY
TENCENT_REGION:
from_secret: TENCENT_REGION
commands:
- tccli configure set secretId $TENCENT_SECRET_ID secretKey $TENCENT_SECRET_KEY region $TENCENT_REGION output json
- tccli configure list
Content type
Image
Digest
Size
36.7 MB
Last updated
over 7 years ago
docker pull v7lin/tencentcloud-cli