mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 14:41:33 +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:
|
||||
workflow_dispatch:
|
||||
@ -12,17 +12,13 @@ jobs:
|
||||
- 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')
|
||||
ls -lh
|
||||
- name: Set up Docker buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Docker Hub login
|
||||
env:
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
run: |
|
||||
echo "${DOCKER_PASSWORD}" | docker login \
|
||||
--username "${DOCKER_USERNAME}" \
|
||||
--password-stdin
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Run buildx and push
|
||||
env:
|
||||
DOCKER_REPO: mlikiowa/napcat-docker
|
||||
|
||||
Loading…
Reference in New Issue
Block a user