This commit is contained in:
aipper 2025-05-27 11:28:34 +08:00
parent ff2024a644
commit 5017ed0f6d

View File

@ -14,7 +14,7 @@ platform:
steps: steps:
- name: build-and-test - name: build-and-test
image: maven:3.8-openjdk-17 image: registry.zczx.com/zcmaven17
volumes: # (可选) 缓存 Maven 依赖以加速后续构建 volumes: # (可选) 缓存 Maven 依赖以加速后续构建
- name: maven-cache - name: maven-cache
path: /root/.m2 path: /root/.m2
@ -26,7 +26,7 @@ steps:
- name: build-and-publish-to-private-registry - name: build-and-publish-to-private-registry
image: plugins/docker image: plugins/docker
settings: settings:
repo: 10.0.0.210:5000/dronedemo repo: registry.zczx.com/dronedemo
tags: tags:
- latest - latest
- ${DRONE_COMMIT_SHA:0:7} - ${DRONE_COMMIT_SHA:0:7}