4
This commit is contained in:
parent
ebba6731a6
commit
d064640c9f
2 changed files with 14 additions and 13 deletions
|
@ -6,18 +6,6 @@ when:
|
||||||
#- test
|
#- test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
container_build_release_push:
|
|
||||||
image: maltegrosse/woodpecker-buildah:0.0.12
|
|
||||||
settings:
|
|
||||||
registry: code.philo.ydns.eu
|
|
||||||
repository: philorg/test-woodpecker-webapp
|
|
||||||
tags: ${CI_COMMIT_SHA}
|
|
||||||
architectures: amd64
|
|
||||||
context: Containerfile
|
|
||||||
username:
|
|
||||||
from_secret: registry_username
|
|
||||||
password:
|
|
||||||
from_secret: registry_password
|
|
||||||
|
|
||||||
npm:
|
npm:
|
||||||
image: docker.io/gplane/pnpm:alpine
|
image: docker.io/gplane/pnpm:alpine
|
||||||
|
@ -30,3 +18,16 @@ steps:
|
||||||
- pnpm set "//code.philo.ydns.eu/api/packages/$ORG/npm/:_authToken=$REGISTRY_TOKEN"
|
- pnpm set "//code.philo.ydns.eu/api/packages/$ORG/npm/:_authToken=$REGISTRY_TOKEN"
|
||||||
- pnpm publish --no-git-checks
|
- pnpm publish --no-git-checks
|
||||||
#failure: ignore
|
#failure: ignore
|
||||||
|
|
||||||
|
container_build_release_push:
|
||||||
|
image: maltegrosse/woodpecker-buildah:0.0.12
|
||||||
|
settings:
|
||||||
|
registry: code.philo.ydns.eu
|
||||||
|
repository: philorg/test-woodpecker-webapp
|
||||||
|
tags: ${CI_COMMIT_SHA}
|
||||||
|
architectures: amd64
|
||||||
|
context: Containerfile
|
||||||
|
username:
|
||||||
|
from_secret: registry_username
|
||||||
|
password:
|
||||||
|
from_secret: registry_password
|
||||||
|
|
|
@ -5,7 +5,7 @@ ENV PATH="$PNPM_HOME:$PATH"
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN pnpm install
|
RUN pnpm install --frozen-lockfile
|
||||||
COPY ./ .
|
COPY ./ .
|
||||||
RUN pnpm run build
|
RUN pnpm run build
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue