parent
9f3dc5555f
commit
7d13685312
2 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,7 @@ jobs:
|
||||||
git pull
|
git pull
|
||||||
git stash pop
|
git stash pop
|
||||||
jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json
|
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 add .
|
||||||
git commit -m "Automated update by Forgejo Actions"
|
git commit -m "Automated update by Forgejo Actions"
|
||||||
git push origin HEAD:${{ github.ref_name }}
|
git push origin HEAD:${{ github.ref_name }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM node:lts-alpine AS builder
|
FROM node:lts-alpine AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install --legacy-peer-deps # or yarn install
|
RUN npm install --legacy-peer-deps
|
||||||
COPY . .
|
COPY . .
|
||||||
ARG LOCAL=false
|
ARG LOCAL=false
|
||||||
RUN if [ "$LOCAL" = "true" ]; then \
|
RUN if [ "$LOCAL" = "true" ]; then \
|
||||||
|
|
Loading…
Reference in a new issue