Fix awscli upload
This commit is contained in:
parent
9c0461efe6
commit
4c8162b17b
@ -96,10 +96,10 @@ upload() {
|
|||||||
__msg "Cache expires on ${EXPIRES}"
|
__msg "Cache expires on ${EXPIRES}"
|
||||||
|
|
||||||
|
|
||||||
if [[ -f ${target} ]]; then
|
if [[ -f ${source} ]]; then
|
||||||
# File
|
# File
|
||||||
local dirName=$(dirname ${target})
|
local dirName=$(dirname ${source})
|
||||||
local filename=$(basename ${target})
|
local filename=$(basename ${source})
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-u $(id -u):$(id -g) \
|
-u $(id -u):$(id -g) \
|
||||||
--env AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
|
--env AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user