diff --git a/.github/workflows/Lagrange.OneBot-docker-push.yml b/.github/workflows/Lagrange.OneBot-docker-push.yml index 3132abfc8..4c6a608a6 100644 --- a/.github/workflows/Lagrange.OneBot-docker-push.yml +++ b/.github/workflows/Lagrange.OneBot-docker-push.yml @@ -30,7 +30,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.GIT_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v5 @@ -49,5 +49,4 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - platforms: linux/arm64/v8, linux/amd64, linux/arm64 - + platforms: linux/amd64,linux/arm64 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index bde981cf9..7e53451a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ COPY . ./ RUN dotnet publish Lagrange.OneBot/Lagrange.OneBot.csproj \ -c Release \ -o out \ + -v normal \ --no-self-contained \ -p:PublishSingleFile=true \ -p:IncludeContentInSingleFile=true