[fix]:[20251208][构建docker,生成jar并构建镜像1]
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
kale 2025-12-08 01:09:06 -05:00
parent ade6a53e1d
commit f030dcdd9d

View File

@ -23,10 +23,11 @@ volumes:
- name: jar-cache - name: jar-cache
path: /localcache path: /localcache
# 触发器配置:针对 master 分支的 PR # 触发器配置:针对 PR 和 tag 事件
trigger: trigger:
event: event:
- pull_request - pull_request
- tag
branch: branch:
- main - main
@ -161,14 +162,14 @@ steps:
# Tag时发布JAR文件到Gitea Release # Tag时发布JAR文件到Gitea Release
- name: gitea_release - name: gitea_release
image: plugins/gitea-release:latest image: registry.cn-beijing.aliyuncs.com/yinzy/drone-plugins:gitea-release-latest
pull: false pull: false
volumes: volumes:
- name: jar-cache - name: jar-cache
path: /localcache path: /localcache
settings: settings:
api_key: api_key:
from_secret: gitea_api_key from_secret: gitea_token
base_url: base_url:
from_secret: gitea_base_url from_secret: gitea_base_url
files: files: