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"]