geoip-geosite-with-ru-block.../.drone.yml
2023-11-16 12:19:06 +03:00

40 lines
696 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: generate
image: golang:1.19-alpine
commands:
- apk add --no-cache make curl grep libidn sipcalc gawk git patch bash python3
- make all
- name: create release tag
image: alpine:latest
environment:
GITEA_API_KEY:
from_secret: gitea_api_key
commands:
- apk add --no-cache make curl
- make release
when:
branch:
- master
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://gitea.neur0tx.site
files: .build/*
checksum:
- sha256
when:
event:
- tag
trigger:
event:
- push
- tag
- cron
- custom