33 lines
858 B
YAML
33 lines
858 B
YAML
when:
|
|
- event: manual
|
|
- event: tag
|
|
|
|
#depends_on:
|
|
#- test
|
|
|
|
steps:
|
|
npm:
|
|
image: code.philo.ydns.eu/philorg/pnpm
|
|
environment:
|
|
ORG: philorg
|
|
REGISTRY_TOKEN:
|
|
from_secret: registry_token
|
|
commands:
|
|
- pnpm install --frozen-lockfile
|
|
- pnpm set "//code.philo.ydns.eu/api/packages/$ORG/npm/:_authToken=$REGISTRY_TOKEN"
|
|
- pnpm publish --no-git-checks
|
|
failure: ignore
|
|
|
|
container_build_release_push:
|
|
#image: docker.io/maltegrosse/woodpecker-buildah:0.0.12
|
|
image: code.philo.ydns.eu/philorg/woodpecker-buildah
|
|
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
|