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
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Get artifacts
|
- name: Get artifacts
|
||||||
run: |
|
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
|
- name: Set up Docker buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
DOCKER_REPO: mlikiowa/napcat-docker
|
DOCKER_REPO: mlikiowa/napcat-docker
|
||||||
GITHUB_REPO: NapNeko/NapCatQQ
|
GITHUB_REPO: NapNeko/NapCatQQ
|
||||||
run: |
|
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 \
|
docker buildx build \
|
||||||
--output "type=image,push=true" \
|
--output "type=image,push=true" \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user