enable gitea release again
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Robert Kaussow 2020-06-05 14:23:29 +02:00
parent 62167f035e
commit 2e3d9dc219

View File

@ -34,24 +34,20 @@ steps:
from_secret: gpgsign_key from_secret: gpgsign_key
passphrase: passphrase:
from_secret: gpgsign_passphrase from_secret: gpgsign_passphrase
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.rknet.org
files:
- rpms/x86_64/*
- sha256sum.txt
title: ${DRONE_TAG}
when: when:
ref: ref:
exclude: - refs/tags/**
- refs/pull/**
#- name: release
# image: plugins/gitea-release
# settings:
# api_key:
# from_secret: gitea_token
# base_url: https://gitea.rknet.org
# files:
# - rpms/x86_64/*
# - sha256sum.txt
# title: ${DRONE_TAG}
# when:
# ref:
# - refs/tags/**
- name: repository - name: repository
image: plugins/s3 image: plugins/s3
@ -66,6 +62,9 @@ steps:
source: rpms/x86_64/*.rpm source: rpms/x86_64/*.rpm
strip_prefix: rpms/ strip_prefix: rpms/
target: /centos/7/ target: /centos/7/
when:
ref:
- refs/tags/**
--- ---
kind: pipeline kind: pipeline
@ -102,6 +101,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 28381b38237a8fad27f2f2176f237e22ebb8ef8e141259246a7162354164eb30 hmac: aefc82db8c27c3016df4ab7807d1e1f23edc8c9f168fcbbbe45e9cb3b02053a9
... ...