add node with pnpm
All checks were successful
Publish Docker Image / docker (push) Successful in 4m56s
All checks were successful
Publish Docker Image / docker (push) Successful in 4m56s
This commit is contained in:
parent
6454bb6277
commit
5594f58d82
@ -36,10 +36,18 @@ jobs:
|
||||
username: ${{ secrets.REPO_USERNAME }}
|
||||
password: ${{ secrets.REPO_TOKEN }}
|
||||
|
||||
- name: Build and Push (Latest)
|
||||
- name: Build and Push (Latest NodeJS)
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
context: ./gitea-runner
|
||||
file: ./gitea-runner/NodeLatestDockerfile
|
||||
tags: fascinated/docker-images:node-latest
|
||||
|
||||
- name: Build and Push (Latest NodeJS - pnpm)
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
context: ./gitea-runner
|
||||
file: ./gitea-runner/NodeWithPnpmLatestDockerfile
|
||||
tags: fascinated/docker-images:node-pnpm-latest
|
||||
|
10
gitea-runner/NodeWithPnpmLatestDockerfile
Normal file
10
gitea-runner/NodeWithPnpmLatestDockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM docker:latest
|
||||
|
||||
# Install packages
|
||||
RUN apk add --no-cache curl wget git bash
|
||||
|
||||
# Install Node 18
|
||||
RUN apk add nodejs npm --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --allow-untrusted
|
||||
|
||||
# Install pnpm
|
||||
RUN npm install -g pnpm
|
Loading…
x
Reference in New Issue
Block a user