File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,11 +22,13 @@ jobs:
2222 password : ${{ secrets.HUB_TOKEN }}
2323 - name : create and push an image
2424 run : |
25- chmod +x ./build.sh
2625 if [ "${GITHUB_REF##*/}" == "master" ]; then
27- VERSION="2.5 .${GITHUB_RUN_NUMBER}"
26+ VERSION="3.0 .${GITHUB_RUN_NUMBER}"
2827 else
2928 BRANCH_TO_DOCKER=$(echo ${GITHUB_REF##*/} | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9._-]//g')
3029 VERSION="${BRANCH_TO_DOCKER}-${GITHUB_RUN_NUMBER}"
3130 fi
32- sudo ./build.sh "registry.hub.docker.com" "wurstbrot" "dsomm" "${VERSION}" "${{ secrets.HUB_USERNAME }}" "${{ secrets.HUB_TOKEN }}"
31+ sudo docker build -t wurstbrot/dsomm:latest .
32+ sudo docker push wurstbrot/dsomm:latest
33+ sudo docker tag wurstbrot/dsomm:${VERSION}
34+ sudo docker push wurstbrot/dsomm:${VERSION}
Load Diff This file was deleted.
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" ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class MatrixComponent implements OnInit {
4747
4848 // function to initialize if level columns exists
4949 ngOnInit ( ) : void {
50- this . yaml . setURI ( './assets/YAML/sample .yaml' ) ;
50+ this . yaml . setURI ( './assets/YAML/meta .yaml' ) ;
5151 // Function sets column header
5252 this . yaml . getJson ( ) . subscribe ( ( data ) => {
5353 this . YamlObject = data ;
@@ -64,7 +64,7 @@ export class MatrixComponent implements OnInit {
6464 } ) ;
6565
6666 //gets value from generated folder
67- this . yaml . setURI ( './assets/YAML/generated/sample .yaml' ) ;
67+ this . yaml . setURI ( './assets/YAML/generated/generated .yaml' ) ;
6868 // Function sets data
6969 this . yaml . getJson ( ) . subscribe ( ( data ) => {
7070 this . YamlObject = data ;
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments