mirror of
https://github.com/actions/container-toolkit-action.git
synced 2025-12-10 20:21:17 +00:00
* 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
16 lines
440 B
Docker
16 lines
440 B
Docker
FROM node:slim
|
|
|
|
LABEL "name"="Container Action Template"
|
|
LABEL "maintainer"="GitHub Actions <support+actions@github.com>"
|
|
LABEL "version"="1.0.0"
|
|
|
|
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 . .
|
|
|
|
RUN npm install --production
|
|
|
|
ENTRYPOINT ["node", "/lib/main.js"] |