2023-11-11 19:49:22 +03:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: generate
|
2023-11-11 20:33:51 +03:00
|
|
|
image: golang:1.19-alpine
|
2023-11-11 19:49:22 +03:00
|
|
|
commands:
|
2023-11-11 20:35:01 +03:00
|
|
|
- apk add --no-cache curl libidn sipcalc gawk git patch bash python3
|
2023-11-11 19:49:22 +03:00
|
|
|
- bash generate.sh
|
|
|
|
- name: release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_api_key
|
|
|
|
base_url: https://gitea.neur0tx.site
|
|
|
|
files: .temp/result/*
|
|
|
|
checksum:
|
|
|
|
- sha256
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- push
|