All checks were successful
continuous-integration/drone/push Build is passing
41 lines
930 B
YAML
41 lines
930 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build:dev
|
|
|
|
steps:
|
|
- name: run full license export
|
|
depends_on: ["clone"]
|
|
image: node:alpine
|
|
commands:
|
|
- yarn
|
|
- yarn licenses:export
|
|
- name: push new licenses file to repo
|
|
depends_on: ["run full license export"]
|
|
image: appleboy/drone-git-push
|
|
settings:
|
|
branch: dev
|
|
commit: true
|
|
commit_message: new license file version [CI SKIP]
|
|
author_email: bot@odit.services
|
|
remote: git@git.odit.services:lfk/frontend.git
|
|
ssh_key:
|
|
from_secret: GITLAB_SSHKEY
|
|
- name: build dev
|
|
image: plugins/docker
|
|
depends_on: [clone]
|
|
settings:
|
|
username:
|
|
from_secret: DOCKER_REGISTRY_USER
|
|
password:
|
|
from_secret: DOCKER_REGISTRY_PASSWORD
|
|
repo: registry.odit.services/lfk/frontend
|
|
tags:
|
|
- dev
|
|
registry: registry.odit.services
|
|
|
|
trigger:
|
|
branch:
|
|
- dev
|
|
event:
|
|
- push |