skerbuild
This commit is contained in:
parent
b608dfc439
commit
583e8daee8
@ -8,10 +8,10 @@ on:
|
||||
|
||||
jobs:
|
||||
CreateImage:
|
||||
runs-on: [frontstaging]
|
||||
runs-on: [skeris]
|
||||
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
|
||||
with:
|
||||
runner: hubstaging
|
||||
runner: skeris
|
||||
secrets:
|
||||
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
|
||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
@ -1,11 +1,10 @@
|
||||
FROM gitea.pena/penadevops/container-images/node:main as build
|
||||
|
||||
RUN apk update && rm -rf /var/cache/apk/*
|
||||
WORKDIR /usr/app
|
||||
COPY . .
|
||||
|
||||
RUN yarn install --verbose --ignore-scripts --non-interactive && yarn cache clean
|
||||
RUN yarn build
|
||||
RUN npm install --force && yarn cache clean
|
||||
RUN npm run build
|
||||
|
||||
|
||||
FROM gitea.pena/penadevops/container-images/nginx:main as result
|
||||
|
Loading…
Reference in New Issue
Block a user