Merge pull request #481 from samalba/fix-aws-cache
stdlib: fixed aws double execution because of cache volumes
This commit is contained in:
commit
df1f5ee55c
@ -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