From 7a99e727865b4e1f1214b33b96e649c6c0f4ab2b Mon Sep 17 00:00:00 2001 From: "Mingor(100757)" Date: Tue, 27 Aug 2024 18:42:46 +0800 Subject: [PATCH] update actions yaml --- .gitea/workflows/deploy-k8s.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy-k8s.yaml b/.gitea/workflows/deploy-k8s.yaml index a49a014..2906c15 100644 --- a/.gitea/workflows/deploy-k8s.yaml +++ b/.gitea/workflows/deploy-k8s.yaml @@ -22,7 +22,7 @@ jobs: - name: Test run: dotnet test --no-restore --verbosity normal - name: List files in the repos - run: ls ${{ gitea.workspace }} + run: ls ${{ gitea.workspace }}/dst - name: Login to Aliyun Container Registry uses: docker/login-action@v3 with: diff --git a/Dockerfile b/Dockerfile index d9e1178..de9bc85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app -COPY dst/ . +COPY dst/* . EXPOSE 8080 ENTRYPOINT ["dotnet", "dotnet-deploy-k8s.dll"]