Skip to content

Commit

Permalink
fixed GIT_TOKEN to GITHUB_TOKEN and removed linux/arm64/v8 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Jan 21, 2024
1 parent 9c5b61b commit 1573923
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/Lagrange.OneBot-docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1573923

Please sign in to comment.