This commit is contained in:
Yanyutin753
2024-02-12 20:12:07 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ jobs:
file: ./Dockerfile
push: true
tags: |
yangclivia/pandora-to-api:${{ steps.tag_name.outputs.tag }}
yangclivia/pandora-to-api:latest
yangclivia/gpt4-copilot-java:${{ steps.tag_name.outputs.tag }}
yangclivia/gpt4-copilot-java:latest
platforms: linux/amd64,linux/arm64
build-args: TARGETPLATFORM=${{ matrix.platform }}

View File

@@ -8,7 +8,7 @@ LABEL maintainer="Yanyutin753"
USER root
# 复制JAR文件到容器的/app目录下
COPY gpt4-copilot-java-0.0.2-SNAPSHOT.jar /app/app.jar
COPY gpt4-copilot-java-0.0.2.jar /app/app.jar
# 切换到/app目录
WORKDIR /app