.drone.yml aktualisiert
continuous-integration/drone/push Build was killed

This commit is contained in:
2026-03-07 21:36:48 +00:00
parent 4d1a13ae95
commit adf294fd85
+39 -7
View File
@@ -1,11 +1,43 @@
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
name: test name: pr-check
trigger:
event:
- pull_request
steps: steps:
- name: test-secret - name: build-angular
image: alpine image: node:22-alpine
settings:
token:
from_secret: gitea_token
commands: commands:
- echo $PLUGIN_TOKEN - npm ci
- npm run build
---
kind: pipeline
type: kubernetes
name: deploy
trigger:
branch:
- main
event:
- push
steps:
- name: build-angular
image: node:22-alpine
commands:
- npm ci
- npm run build
- name: build-and-push
image: plugins/docker
settings:
registry: gitea.mnky-code.de
repo: gitea.mnky-code.de/mnky/ngrx-playground
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
username:
from_secret: gitea_username
password:
from_secret: gitea_password