From ba912f746bdcba752e96a9c6731af9f9ff289f0e Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Thu, 6 Aug 2020 11:36:20 +0900 Subject: [PATCH] ci: Add actions runner env (#443) DEBIAN_FRONTEND="noninteractive" ImageVersion="20200717.1" GITHUB_SERVER_URL="https://github.com" GITHUB_GRAPHQL_URL="https://api.github.com/graphql" GITHUB_ACTOR="peaceiris" GITHUB_REPOSITORY="actions/pages" RUNNER_OS="Linux" RUNNER_USER="runner" RUNNER_TEMP="/home/runner/work/_temp" RUNNER_WORKSPACE="/home/runner/work/pages" --- Dockerfile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b0290b..c418f1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,13 +29,22 @@ RUN curl -o nodejs.deb "https://deb.nodesource.com/node_${NODE_VERSION%%.*}.x/po WORKDIR /repo +ENV DEBIAN_FRONTEND="noninteractive" ENV LANG="C.UTF-8" -ENV ImageVersion="20200625.0" +ENV CI="true" +ENV ImageVersion="20200717.1" +ENV GITHUB_SERVER_URL="https://github.com" ENV GITHUB_API_URL="https://api.github.com" -ENV RUNNER_TOOL_CACHE="/opt/hostedtoolcache" +ENV GITHUB_GRAPHQL_URL="https://api.github.com/graphql" ENV GITHUB_REPOSITORY_OWNER="peaceiris" ENV GITHUB_ACTIONS="true" -ENV CI="true" +ENV GITHUB_ACTOR="peaceiris" +ENV GITHUB_REPOSITORY="actions/pages" +ENV RUNNER_OS="Linux" +ENV RUNNER_TOOL_CACHE="/opt/hostedtoolcache" +ENV RUNNER_USER="runner" +ENV RUNNER_TEMP="/home/runner/work/_temp" +ENV RUNNER_WORKSPACE="/home/runner/work/pages" RUN echo "node version: $(node -v)" && \ echo "npm version: $(npm -v)" && \