mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 22:52:10 +08:00
test build
This commit is contained in:
parent
b8d17b096f
commit
6b7dbb0577
16
.github/workflows/debug.yml
vendored
16
.github/workflows/debug.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Docker
|
name: debug
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@ -12,17 +12,13 @@ jobs:
|
|||||||
- 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 "https://api.github.com/repos/NapNeko/NapCatQQ/releases/latest" | jq -r '.tag_name')
|
||||||
ls -lh
|
|
||||||
- name: Set up Docker buildx
|
- name: Set up Docker buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Docker Hub login
|
- name: Login to Docker Hub
|
||||||
env:
|
uses: docker/login-action@v3
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
with:
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
run: |
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
echo "${DOCKER_PASSWORD}" | docker login \
|
|
||||||
--username "${DOCKER_USERNAME}" \
|
|
||||||
--password-stdin
|
|
||||||
- name: Run buildx and push
|
- name: Run buildx and push
|
||||||
env:
|
env:
|
||||||
DOCKER_REPO: mlikiowa/napcat-docker
|
DOCKER_REPO: mlikiowa/napcat-docker
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user