Add toolkit example to container (#1)

* Add toolkit

* Remove entrypoint

* Use a node container

* Debug

* Temporarily remove package-lock.json for local dependencies

* Clean up

* Get logging working

* Use entrypoint

* Debug

* Debug

* Just print repo name
This commit is contained in:
Danny McCormick
2019-08-02 09:09:37 -04:00
committed by GitHub
parent 13a6fbf7d9
commit dcf7775603
16 changed files with 183 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM node:slim
LABEL "name"="Container Action Template"
LABEL "maintainer"="GitHub Actions <support+actions@github.com>"
@@ -8,8 +8,9 @@ LABEL "com.github.actions.name"="GitHub Container Action Template"
LABEL "com.github.actions.description"="Container action template."
LABEL "com.github.actions.icon"="package"
LABEL "com.github.actions.color"="blue"
COPY LICENSE README.md /
COPY entrypoint.sh /entrypoint.sh
COPY . .
ENTRYPOINT ["/entrypoint.sh"]
RUN npm install --production
ENTRYPOINT ["node", "/lib/main.js"]