From 7cf5dfb294abf124e208b328b43ce2efd0f190c5 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Mon, 15 Jul 2024 15:43:59 -0400 Subject: [PATCH] Try this --- base_ottr/Dockerfile | 2 +- base_ottr/install_github.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base_ottr/Dockerfile b/base_ottr/Dockerfile index 2af9802..d12b9c7 100644 --- a/base_ottr/Dockerfile +++ b/base_ottr/Dockerfile @@ -8,7 +8,7 @@ COPY github_package_list.tsv . RUN --mount=type=secret,id=github_token \ Rscript install_github.R \ --packages github_package_list.tsv \ - --token /run/secrets/github_token + --token '/run/secrets/github_token' WORKDIR /rocker-build/ diff --git a/base_ottr/install_github.R b/base_ottr/install_github.R index 7b42deb..be5d676 100644 --- a/base_ottr/install_github.R +++ b/base_ottr/install_github.R @@ -31,7 +31,7 @@ option_list <- list( opt <- parse_args(OptionParser(option_list = option_list)) # Read in the token -token <- readLines(as.character(opt$tokens)[1]) +token <- readLines(opt$tokens) message(token)