This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push: new 39ef1b4 chore: add custom GitHub action 39ef1b4 is described below commit 39ef1b412f7049aab69d2b908065fc7586e53786 Author: Zoran Regvart <zregvart+git...@gmail.com> AuthorDate: Sat Mar 2 19:25:17 2019 +0100 chore: add custom GitHub action We need additional packages not present in the `borales/actions-yarn` Docker image from, also helps us keep control on the Docker image. --- .github/action-website/Dockerfile | 23 +++++++++++++++++++++++ .github/main.workflow | 6 ++++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/.github/action-website/Dockerfile b/.github/action-website/Dockerfile new file mode 100644 index 0000000..04f6a49 --- /dev/null +++ b/.github/action-website/Dockerfile @@ -0,0 +1,23 @@ +FROM node:10-stretch + +LABEL "com.github.actions.name"="Camel Website tooling" +LABEL "com.github.actions.description"="Nodejs with tools for Camel Website" +LABEL "com.github.actions.icon"="package" +LABEL "com.github.actions.color"="orange" + +LABEL "repository"="https://github.com/apache/camel-website" +LABEL "homepage"="https://camel.apache.org" +LABEL "maintainer"="Camel Developers <d...@camel.apache.org>" + +RUN set -ex \ + && apt-get update \ + && apt-get install -y --no-install-recommends \ + libasound2 \ + libatk-bridge2.0-0 \ + libgtk-3-0 \ + libnss3 \ + libx11-xcb1 \ + libxss1 \ + libxtst6 \ + && rm -rf /var/lib/apt/lists/* + diff --git a/.github/main.workflow b/.github/main.workflow index 9d43c70..446569b 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -4,12 +4,14 @@ workflow "Build and publish the website" { } action "Build theme" { - uses = "borales/actions-yarn@1bf615491daf339f333dcbfe4aef4337c042abd4" + uses = "./action-website/" + runs = "yarn" args = "--non-interactive --frozen-lockfile --cwd antora-ui-camel" } action "Build website" { - uses = "borales/actions-yarn@1bf615491daf339f333dcbfe4aef4337c042abd4" + uses = "./action-website/" needs = ["Build theme"] + runs = "yarn" args = "--non-interactive --frozen-lockfile" }