update cicd
This commit is contained in:
parent
d8212e3eac
commit
619c5f1ce0
16
.drone.yml
16
.drone.yml
@ -13,9 +13,8 @@ volumes:
|
|||||||
path: /drone/volume/m2
|
path: /drone/volume/m2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: maven:3.8.5-openjdk-17
|
image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: m2
|
- name: m2
|
||||||
@ -27,6 +26,8 @@ steps:
|
|||||||
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
|
||||||
- mvn --settings maven-settings.xml -U -P snapshot clean deploy
|
- mvn --settings maven-settings.xml -U -P snapshot clean deploy
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- DOCKER_AUTH
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
@ -42,9 +43,8 @@ volumes:
|
|||||||
path: /drone/volume/m2
|
path: /drone/volume/m2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: publish maven central
|
- name: publish maven central
|
||||||
image: maven:3.8.5-openjdk-17
|
image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: m2
|
- name: m2
|
||||||
@ -62,6 +62,8 @@ steps:
|
|||||||
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
||||||
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy
|
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- DOCKER_AUTH
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
@ -79,7 +81,7 @@ volumes:
|
|||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: publish struchkov nexus
|
- name: publish struchkov nexus
|
||||||
image: maven:3.8.5-openjdk-17
|
image: hub.docker.struchkov.dev/maven:3.9.5-eclipse-temurin-17-alpine
|
||||||
privileged: true
|
privileged: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: m2
|
- name: m2
|
||||||
@ -97,8 +99,10 @@ steps:
|
|||||||
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
|
||||||
- mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy
|
- mvn --settings maven-settings.xml -U -P ossrh,release-struchkov-nexus clean deploy
|
||||||
|
|
||||||
|
image_pull_secrets:
|
||||||
|
- DOCKER_AUTH
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 71ee750060bc4bee918fc4d22fb40b233e2357841a81f38d7be83ca8ffcf586c
|
hmac: 9d05e7a624cae6a1980d4f25fcb56eb6daece6e053d981dff4a8643eb8f2a20a
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user