fixed deployprocess
This commit is contained in:
1 parent
0defdd4964
commit
c3f4fbd94b
1 file changed
+12
-4
@@ -18,11 +18,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Download build artifacts (dist files)
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: artifacts-build
|
token: ${{ secrets.GIT_ACCESS_TOKEN }}
|
||||||
path: build/
|
submodules: 'true'
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Setup java runtime
|
||||||
|
uses: actions/setup-java@v6
|
||||||
|
env:
|
||||||
|
RUNNER_TOOL_CACHE: /tmp/hostedtoolcache
|
||||||
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: ${{ vars.JAVA_VERSION }}
|
||||||
|
- name: Build application jar
|
||||||
|
run: ./gradlew bootJar
|
||||||
- name: Setup docker buildx environment
|
- name: Setup docker buildx environment
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Login to docker registry
|
- name: Login to docker registry
|
||||||
|
|||||||
Reference in new issue
Block a user