diff --git a/Dockerfile b/Dockerfile index 68cda16..f169d6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,7 @@ RUN apt-get update && \ RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc \ && chmod +x mc \ - && echo $(pwd) >> $GITHUB_PATH \ - && mc --help + && ./mc --help # Copies your code file from your action repository to the filesystem path `/` of the container COPY entrypoint.sh /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index f662dd7..b05d8f8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY +./mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY -mc mirror --overwrite $1 "deploy/$2" +./mc mirror --overwrite $1 "deploy/$2"