Compare commits
1 Commits
f23d4b5698
...
93b0eaa2d7
Author | SHA1 | Date | |
---|---|---|---|
93b0eaa2d7 |
26
.github/workflows/main.yaml
vendored
26
.github/workflows/main.yaml
vendored
@ -11,26 +11,11 @@ jobs:
|
|||||||
|
|
||||||
runs-on: runner
|
runs-on: runner
|
||||||
steps:
|
steps:
|
||||||
- uses: RouxAntoine/checkout@v3.5.4
|
- name: Checkout repository
|
||||||
|
uses: https://antoine-roux.tk/projects/actions/checkout@v3.5.4
|
||||||
|
|
||||||
- name: Retrieve root ca certificate
|
- name: Setup java
|
||||||
id: get-ca-cert
|
uses: https://antoine-roux.tk/projects/actions/setup-java@v1.1.0
|
||||||
uses: RouxAntoine/get-ca-cert@v1.0.0
|
|
||||||
|
|
||||||
- uses: actions/setup-java@v4
|
|
||||||
id: java
|
|
||||||
with:
|
|
||||||
distribution: 'temurin'
|
|
||||||
java-version: '21'
|
|
||||||
overwrite-settings: false
|
|
||||||
|
|
||||||
- name: Add root certificate to java truststore
|
|
||||||
uses: RouxAntoine/add-ca-truststore@v1.1.0
|
|
||||||
id: add-ca-to-truststore
|
|
||||||
with:
|
|
||||||
alias-name: antoine-roux.tk
|
|
||||||
ca-cert: "${{ steps.get-ca-cert.outputs.ca-cert }}"
|
|
||||||
store-path: "${{ steps.java.outputs.path }}/lib/security/cacerts"
|
|
||||||
|
|
||||||
- name: Deploy container artifact
|
- name: Deploy container artifact
|
||||||
run: ./mvnw compile jib:build
|
run: ./mvnw compile jib:build
|
||||||
@ -41,7 +26,8 @@ jobs:
|
|||||||
MAVEN_ARGS: "-s ${{ gitea.workspace }}/settings.xml"
|
MAVEN_ARGS: "-s ${{ gitea.workspace }}/settings.xml"
|
||||||
TOKEN_REGISTRY: ${{ secrets.TOKEN_REGISTRY }}
|
TOKEN_REGISTRY: ${{ secrets.TOKEN_REGISTRY }}
|
||||||
|
|
||||||
- uses: RouxAntoine/auto-changie@v1.0.1
|
- name: Auto generate changelog
|
||||||
|
uses: https://antoine-roux.tk/projects/actions/auto-changie@v1.0.1
|
||||||
|
|
||||||
- name: Push changelog
|
- name: Push changelog
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
|
@ -5,3 +5,9 @@ to publish a docker image of this application use
|
|||||||
```shell
|
```shell
|
||||||
./mvnw compile jib:build
|
./mvnw compile jib:build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
to publish maven jar of this application use
|
||||||
|
|
||||||
|
```shell
|
||||||
|
./mvnw deploy
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user