stdlib: fixed aws double execution because of cache volumes
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
9f019d74f2
commit
da5ee15354
@ -95,7 +95,6 @@ import (
|
|||||||
]
|
]
|
||||||
"env": env
|
"env": env
|
||||||
"env": {
|
"env": {
|
||||||
AWS_CONFIG_FILE: "/cache/aws/config"
|
|
||||||
AWS_ACCESS_KEY_ID: config.accessKey
|
AWS_ACCESS_KEY_ID: config.accessKey
|
||||||
AWS_SECRET_ACCESS_KEY: config.secretKey
|
AWS_SECRET_ACCESS_KEY: config.secretKey
|
||||||
AWS_DEFAULT_REGION: config.region
|
AWS_DEFAULT_REGION: config.region
|
||||||
@ -103,7 +102,6 @@ import (
|
|||||||
AWS_DEFAULT_OUTPUT: "json"
|
AWS_DEFAULT_OUTPUT: "json"
|
||||||
AWS_PAGER: ""
|
AWS_PAGER: ""
|
||||||
}
|
}
|
||||||
mount: "/cache/aws": "cache"
|
|
||||||
if dir != _|_ {
|
if dir != _|_ {
|
||||||
mount: "/inputs/source": from: dir
|
mount: "/inputs/source": from: dir
|
||||||
}
|
}
|
||||||
|
@ -14,8 +14,7 @@ import (
|
|||||||
|
|
||||||
// ECR credentials
|
// ECR credentials
|
||||||
username: "AWS"
|
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
|
secret: out
|
||||||
|
|
||||||
aws.#Script & {
|
aws.#Script & {
|
||||||
|
Reference in New Issue
Block a user