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:
+5
-4
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.10
|
||||
FROM node:slim
|
||||
|
||||
LABEL "name"="Container Action Template"
|
||||
LABEL "maintainer"="GitHub Actions <[email protected]>"
|
||||
@@ -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"]
|
||||
Reference in New Issue
Block a user