.drone.yml aktualisiert
This commit is contained in:
22
.drone.yml
22
.drone.yml
@@ -3,9 +3,21 @@ type: kubernetes
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: hello
|
||||
image: alpine
|
||||
- name: build-angular
|
||||
image: node:22-alpine
|
||||
commands:
|
||||
- echo "Pipeline läuft!"
|
||||
- echo "Repo: ${DRONE_REPO}"
|
||||
- echo "Branch: ${DRONE_BRANCH}"
|
||||
- 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
|
||||
Reference in New Issue
Block a user