18 lines
379 B
YAML
18 lines
379 B
YAML
---
|
|
kind: pipeline
|
|
name: create new release
|
|
|
|
steps:
|
|
- name: create archive
|
|
image: gitea.kdiva.ru/infrastructure/archiver:latest
|
|
environment:
|
|
USERNAME:
|
|
from_secret: drone_repo_user
|
|
PASSWORD:
|
|
from_secret: drone_repo_password
|
|
commands:
|
|
- envsubst < module.json.template > ./src/module.json
|
|
- cat module.json
|
|
- zip -r -9 module.zip ./src/*
|
|
- ls -la
|