test-woodpecker-webapp/.woodpecker/build.yaml

34 lines
789 B
YAML
Raw Normal View History

2025-06-25 04:14:41 +02:00
when:
- event: manual
- event: tag
#depends_on:
#- test
steps:
npm:
image: docker.io/gplane/pnpm:alpine
environment:
ORG: philorg
2025-06-25 04:26:19 +02:00
REGISTRY_TOKEN:
from_secret: registry_token
2025-06-25 04:14:41 +02:00
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
2025-06-25 04:33:41 +02:00
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