stdlib: fixed aws double execution because of cache volumes

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-05-20 15:39:30 -07:00
parent 9f019d74f2
commit da5ee15354
2 changed files with 1 additions and 4 deletions

View File

@ -95,7 +95,6 @@ import (
]
"env": env
"env": {
AWS_CONFIG_FILE: "/cache/aws/config"
AWS_ACCESS_KEY_ID: config.accessKey
AWS_SECRET_ACCESS_KEY: config.secretKey
AWS_DEFAULT_REGION: config.region
@ -103,7 +102,6 @@ import (
AWS_DEFAULT_OUTPUT: "json"
AWS_PAGER: ""
}
mount: "/cache/aws": "cache"
if dir != _|_ {
mount: "/inputs/source": from: dir
}

View File

@ -14,8 +14,7 @@ import (
// ECR credentials
username: "AWS"
// FIXME Exected twice and trigger error : "TestECR.creds.secret: 2 errors in empty disjunction"
// Happend because of v0.8.3 of buildkit container
secret: out
aws.#Script & {