add nodejs with yarn
Some checks failed
Publish Docker Image / docker (push) Failing after 1m40s

This commit is contained in:
Lee 2023-10-18 01:56:11 +01:00
parent 725e3499ac
commit 631228dd36
2 changed files with 12 additions and 0 deletions

@ -53,3 +53,11 @@ jobs:
context: ./gitea-runner context: ./gitea-runner
file: ./gitea-runner/NodeWithPnpmLatestDockerfile file: ./gitea-runner/NodeWithPnpmLatestDockerfile
tags: fascinated/docker-images:node-pnpm-latest tags: fascinated/docker-images:node-pnpm-latest
- name: Build and Push (Latest NodeJS - yarn)
uses: docker/build-push-action@v4
with:
push: true
context: ./gitea-runner
file: ./gitea-runner/NodeWithYarnLatestDockerfile
tags: fascinated/docker-images:node-yarn-latest

@ -0,0 +1,4 @@
FROM fascinated/docker-images:node-latest
# Install yarn
RUN npm install -g yarn