sed i
Some checks failed
ci / build (push) Failing after 43s

This commit is contained in:
miwr 2025-04-24 14:27:04 +02:00
parent 9f3dc5555f
commit 7d13685312
2 changed files with 2 additions and 1 deletions

View file

@ -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 }}

View file

@ -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 \