test-woodpecker-webapp/.woodpecker/build.yaml
2025-06-25 04:14:41 +02:00

30 lines
723 B
YAML

when:
- event: manual
- event: tag
#depends_on:
#- test
steps:
container_build_release_push:
image: maltegrosse/woodpecker-buildah:0.0.12
settings:
registry: code.philo.ydns.eu
repository: philorg/test-woodpecker
tags: ${CI_COMMIT_SHA}
architectures: amd64
context: Containerfile
username:
from_secret: registry_username
password:
from_secret: registry_password
npm:
image: docker.io/gplane/pnpm:alpine
environment:
ORG: philorg
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