修改docker 构建bug
All checks were successful
CI / Docker-Build (push) Successful in 3m29s

This commit is contained in:
soul-walker 2024-03-22 15:37:25 +08:00
parent 82e41df1c7
commit a440b77c7f

View File

@ -21,9 +21,9 @@ jobs:
cache: 'maven' cache: 'maven'
cache-dependency-path: './pom.xml' cache-dependency-path: './pom.xml'
- name: 设置Maven环境 - name: 设置Maven环境
uses: https://gitea.joylink.club/actions/setup-maven@v5 uses: https://gitea.joylink.club/actions/local-setup-maven@v0.1.1
with: with:
maven-version: 3.8.2 maven-version: 3.8.8
- name: 构建 - name: 构建
run: | run: |
mvn -Dmaven.test.skip=true clean package mvn -Dmaven.test.skip=true clean package
@ -41,7 +41,7 @@ jobs:
uses: https://gitea.joylink.club/docker/build-push-action@v5 uses: https://gitea.joylink.club/docker/build-push-action@v5
with: with:
context: . context: .
file: ./Dockerfile_Gitea file: ./Dockerfile
push: true push: true
tags: | tags: |
gitea.joylink.club/joylink/rt-sim-training-service:local-test gitea.joylink.club/joylink/rt-sim-training-service:local-test