mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-18 22:06:41 +08:00
fix
This commit is contained in:
parent
63a8943ad4
commit
c166cd203a
6
.github/workflows/docker-publish.yml
vendored
6
.github/workflows/docker-publish.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- name: Get artifacts
|
||||
run: |
|
||||
bash get_artifacts.sh ${{ secrets.GITHUB_TOKEN }} $(curl "https://api.github.com/repos/NapNeko/NapCatQQ/releases/latest" | jq -r '.tag_name')
|
||||
bash get_artifacts.sh ${{ secrets.GITHUB_TOKEN }} $(curl -sSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/NapNeko/NapCatQQ/releases/latest" | jq -r '.tag_name')
|
||||
- name: Set up Docker buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Docker Hub
|
||||
@ -25,7 +25,7 @@ jobs:
|
||||
DOCKER_REPO: mlikiowa/napcat-docker
|
||||
GITHUB_REPO: NapNeko/NapCatQQ
|
||||
run: |
|
||||
TAG=$(curl "https://api.github.com/repos/NapNeko/NapCatQQ/releases/latest" | jq -r '.tag_name')
|
||||
TAG=$(curl -sSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/NapNeko/NapCatQQ/releases/latest" | jq -r '.tag_name')
|
||||
docker buildx build \
|
||||
--output "type=image,push=true" \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
@ -35,4 +35,4 @@ jobs:
|
||||
.
|
||||
- name: Docker Hub logout
|
||||
if: always()
|
||||
run: docker logout
|
||||
run: docker logout
|
||||
|
||||
Loading…
Reference in New Issue
Block a user