File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1616 - name : Setup Node
1717 uses : actions/setup-node@v3
1818 with :
19- node-version : " 18 .x"
19+ node-version : " 20 .x"
2020 registry-url : " https://npm.pkg.github.com"
2121 cache : " yarn"
2222 scope : " @nishkarshraj"
Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414 strategy :
1515 matrix :
16- node-version : [16.x, 18.x]
16+ node-version : [16.x, 18.x, 20.x ]
1717 steps :
1818 - name : Checkout Repository to Runner Context
1919 uses : actions/checkout@v4
3030 needs : build
3131 strategy :
3232 matrix :
33- node-version : [16.x, 18.x]
33+ node-version : [16.x, 18.x, 20.x ]
3434 steps :
3535 - name : Checkout Repository to Runner Context
3636 uses : actions/checkout@v4
5353 - name : Checkout repository
5454 uses : actions/checkout@v4
5555 - name : Log in to the Container registry
56- uses : docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
56+ uses : docker/login-action@b4bedf8053341df3b5a9f9e0f2cf4e79e27360c6
5757 with :
5858 registry : ${{ env.REGISTRY }}
5959 username : ${{ github.actor }}
6464 with :
6565 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6666 - name : Build and push Docker image
67- uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
67+ uses : docker/build-push-action@0f847266c302569530c95bfa228489494c43b002
6868 with :
6969 context : .
7070 push : true
Original file line number Diff line number Diff line change 1- FROM node:18 -alpine AS builder
1+ FROM node:20 -alpine AS builder
22ENV NODE_ENV production
33WORKDIR /app
44COPY package.json .
@@ -7,7 +7,7 @@ RUN yarn install --production
77COPY . .
88RUN yarn build
99
10- FROM nginx:1.21.0 -alpine as production
10+ FROM nginx:1.25.2 -alpine as production
1111ENV NODE_ENV production
1212COPY --from=builder /app/build /usr/share/nginx/html
1313COPY nginx.conf /etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change 11{
22 "name" : " @nishkarshraj/savvy-devsecops" ,
3- "version" : " 1.1.1 " ,
3+ "version" : " 1.1.2 " ,
44 "repository" : {
55 "type" : " git" ,
66 "url" : " https://github.com/NishkarshRaj/savvy-devsecops.git"
You can’t perform that action at this time.
0 commit comments