Revert to private registry
This commit is contained in:
@@ -17,14 +17,14 @@ steps:
|
|||||||
- maven-{{ .Environment.DRONE_REPO_NAME }}-
|
- maven-{{ .Environment.DRONE_REPO_NAME }}-
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: maven:3.9-eclipse-temurin-22
|
image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22
|
||||||
commands:
|
commands:
|
||||||
- mvn clean package -DskipTests
|
- mvn clean package -DskipTests
|
||||||
cache_from:
|
cache_from:
|
||||||
- maven-{{ .Environment.DRONE_REPO_NAME }}-{{ checksum "pom.xml" }}
|
- maven-{{ .Environment.DRONE_REPO_NAME }}-{{ checksum "pom.xml" }}
|
||||||
|
|
||||||
- name: build-image
|
- name: build-image
|
||||||
image: plugins/docker:linux-amd64
|
image: ccr.ccs.tencentyun.com/violin/docker:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
repo: ccr.ccs.tencentyun.com/violin/todo-backend
|
repo: ccr.ccs.tencentyun.com/violin/todo-backend
|
||||||
tags:
|
tags:
|
||||||
@@ -73,14 +73,14 @@ steps:
|
|||||||
- maven-{{ .Environment.DRONE_REPO_NAME }}-
|
- maven-{{ .Environment.DRONE_REPO_NAME }}-
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: maven:3.9-eclipse-temurin-22
|
image: ccr.ccs.tencentyun.com/violin/maven:3.9-eclipse-temurin-22
|
||||||
commands:
|
commands:
|
||||||
- mvn clean package -DskipTests
|
- mvn clean package -DskipTests
|
||||||
cache_from:
|
cache_from:
|
||||||
- maven-{{ .Environment.DRONE_REPO_NAME }}-{{ checksum "pom.xml" }}
|
- maven-{{ .Environment.DRONE_REPO_NAME }}-{{ checksum "pom.xml" }}
|
||||||
|
|
||||||
- name: build-image
|
- name: build-image
|
||||||
image: plugins/docker:linux-amd64
|
image: ccr.ccs.tencentyun.com/violin/docker:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
repo: ccr.ccs.tencentyun.com/violin/todo-backend
|
repo: ccr.ccs.tencentyun.com/violin/todo-backend
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user