Update the CI/CD configuration to publish the artifacts to the release.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
+36
@@ -5,6 +5,42 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: clojure:temurin-11-lein-2.10.0-alpine
|
image: clojure:temurin-11-lein-2.10.0-alpine
|
||||||
|
volumes:
|
||||||
|
- name: package_cache
|
||||||
|
path: /root/.m2/
|
||||||
commands:
|
commands:
|
||||||
- lein test
|
- lein test
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
image: clojure:temurin-11-lein-2.10.0-alpine
|
||||||
|
volumes:
|
||||||
|
- name: package_cache
|
||||||
|
path: /root/.m2/
|
||||||
|
commands:
|
||||||
|
- lein uberjar
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
|
- name: gitea_release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: API_KEY
|
||||||
|
base_url:
|
||||||
|
from_secret: BASE_URL
|
||||||
|
files:
|
||||||
|
- target/uberjar/*.jar
|
||||||
|
checksum:
|
||||||
|
- md5
|
||||||
|
- sha1
|
||||||
|
- sha256
|
||||||
|
- sha512
|
||||||
|
- adler32
|
||||||
|
- crc32
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: package_cache
|
||||||
|
temp: {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user