File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 run : |
2525 chmod +x ./build.sh
2626 if [ "${GITHUB_REF##*/}" == "master" ]; then
27- VERSION="2.5 .${GITHUB_RUN_NUMBER}"
27+ VERSION="3.0 .${GITHUB_RUN_NUMBER}"
2828 else
2929 BRANCH_TO_DOCKER=$(echo ${GITHUB_REF##*/} | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9._-]//g')
3030 VERSION="${BRANCH_TO_DOCKER}-${GITHUB_RUN_NUMBER}"
3131 fi
32- sudo ./build.sh "registry.hub.docker.com" "wurstbrot" "dsomm" "${VERSION}" "${{ secrets.HUB_USERNAME }}" "${{ secrets.HUB_TOKEN }}"
32+ sudo docker build -t wurstbrot/dsomm:latest .
33+ sudo docker push wurstbrot/dsomm:latest
34+ sudo docker tag wurstbrot/dsomm:${VERSION}
35+ sudo docker push wurstbrot/dsomm:${VERSION}
Original file line number Diff line number Diff line change 1+ FROM node:18.7-alpine AS build
2+ WORKDIR /usr/src/app
3+ COPY package.json package-lock.json ./
4+ RUN npm install
5+ COPY . .
6+ RUN npm run build
7+
8+ FROM bitnami/nginx:latest
9+ # COPY nginx.conf /etc/nginx/nginx.conf
10+ COPY --from=build /usr/src/app/dist/dsomm/ /app
Original file line number Diff line number Diff line change 3838 {
3939 "type" : " initial" ,
4040 "maximumWarning" : " 500kb" ,
41- "maximumError" : " 1mb "
41+ "maximumError" : " 2mb "
4242 },
4343 {
4444 "type" : " anyComponentStyle" ,
You can’t perform that action at this time.
0 commit comments