mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
67 lines
1.3 KiB
YAML
67 lines
1.3 KiB
YAML
project_name: panel
|
|
|
|
builds:
|
|
- id: web
|
|
main: ./cmd/web
|
|
binary: web
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ldflags:
|
|
- -s -w --extldflags "-static"
|
|
- id: cli
|
|
main: ./cmd/cli
|
|
binary: cli
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ldflags:
|
|
- -s -w --extldflags "-static"
|
|
|
|
upx:
|
|
- enabled: true
|
|
# Filter by build ID.
|
|
ids: [ panel ]
|
|
# Compress argument.
|
|
# Valid options are from '1' (faster) to '9' (better), and 'best'.
|
|
compress: best
|
|
# Whether to try LZMA (slower).
|
|
lzma: true
|
|
# Whether to try all methods and filters (slow).
|
|
brute: false
|
|
|
|
archives:
|
|
- id: panel-archive
|
|
builds:
|
|
- panel
|
|
format: zip
|
|
wrap_in_directory: false
|
|
strip_binary_directory: true
|
|
files:
|
|
- LICENSE
|
|
- storage/*
|
|
- config/*
|
|
|
|
gitlab_urls:
|
|
api: https://git.haozi.net/api/v4/
|
|
download: https://git.haozi.net
|
|
# 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
|