diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index bf72386..edae993 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -62,6 +62,7 @@ jobs: git pull git stash pop jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json + sed -i "s|forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:.*|forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/michals-silly-game-frontend:$new_version|" k8/deployment.yaml git add . git commit -m "Automated update by Forgejo Actions" git push origin HEAD:${{ github.ref_name }} diff --git a/Dockerfile b/Dockerfile index 82fc4ac..094c371 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:lts-alpine AS builder WORKDIR /app COPY package*.json ./ -RUN npm install --legacy-peer-deps # or yarn install +RUN npm install --legacy-peer-deps COPY . . ARG LOCAL=false RUN if [ "$LOCAL" = "true" ]; then \