diff --git a/achilles/Dockerfile b/achilles/Dockerfile index 3d07299..69b4fdb 100644 --- a/achilles/Dockerfile +++ b/achilles/Dockerfile @@ -1,7 +1,7 @@ FROM docker.io/rocker/r-ver:4.2.3 -RUN echo 'GITHUB_PAT=' /run/secrets/GITHUB_PAT >> /root/.Renviron -RUN GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT) +RUN --mount=type=secret,id=GITHUB_PAT \ + GITHUB_PAT=$(cat /run/secrets/GITHUB_PAT) RUN <