File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2,24 +2,24 @@ name: Build
22
33on :
44 push :
5- branches : [ master ]
5+ branches :
6+ - master
67 pull_request :
7- branches : [ master ]
88
99env :
1010 REGISTRY : ghcr.io
1111 IMAGE_NAME : ${{ github.repository }}
1212
1313jobs :
1414 build :
15- runs-on : ubuntu-latest
15+ runs-on : ubuntu-24.04
1616 permissions :
1717 contents : read
1818 packages : write
1919 steps :
20- - uses : actions/checkout@v2
20+ - uses : actions/checkout@v4
2121 - name : Log in to the Container registry
22- uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
22+ uses : docker/login-action@v3
2323 with :
2424 registry : ${{ env.REGISTRY }}
2525 username : ${{ github.actor }}
3838 then
3939 REF_NAME=pr-${PR_NUM}
4040 fi
41- echo "::set-output name= tag-name:: ${REF_NAME}-$(date +%Y)-${SECONDS_HEX}"
41+ echo "tag-name= ${REF_NAME}-$(date +%Y)-${SECONDS_HEX}" >> $GITHUB_OUTPUT
4242 - name : Build and push Docker image
43- uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
43+ uses : docker/build-push-action@v6
4444 with :
4545 context : .
4646 push : true
Original file line number Diff line number Diff line change 1- FROM node:16.18 .0
1+ FROM node:20.19 .0
22
33RUN apt-get update \
44 && apt-get --no-install-recommends -y install ruby-full \
@@ -13,7 +13,7 @@ RUN npm install \
1313 && npm install -g grunt-cli \
1414 && grunt
1515
16- FROM nginx:1.22 -alpine
16+ FROM nginx:1.27.4 -alpine
1717
1818WORKDIR /usr/share/nginx/html
1919
You can’t perform that action at this time.
0 commit comments