2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 12:40:25 +08:00

ci: 在极狐发布版本

This commit is contained in:
耗子
2023-10-16 20:27:06 +08:00
parent e10e0d4b9b
commit 032133b54a
2 changed files with 32 additions and 0 deletions

View File

@@ -50,3 +50,17 @@ build:
paths:
- $OUTPUT_NAME
expire_in: 3 days
release:
stage: release
image:
name: goreleaser/goreleaser
entrypoint: ['']
only:
- tags
variables:
# Disable shallow cloning so that goreleaser can diff between tags to
# generate a changelog.
GIT_DEPTH: 0
script:
- goreleaser release --clean

View File

@@ -32,3 +32,21 @@ archives:
- scripts/*
- resources/*
- panel-example.conf
gitlab_urls:
api: https://jihulab.com/api/v4/
download: https://jihulab.com
# set to true if you use a self-signed certificate
skip_tls_verify: false
# set to true if you want to upload to the Package Registry rather than attachments
# Only works with GitLab 13.5+
#
# Since: v1.3
use_package_registry: true
# Set this if you set GITLAB_TOKEN to the value of CI_JOB_TOKEN.
#
# Since: v1.11
use_job_token: true