mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 22:52:10 +08:00
chore: test build
This commit is contained in:
parent
69093928d7
commit
d18aadd9a8
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
@ -50,7 +50,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Get artifacts
|
name: Get artifacts
|
||||||
run: |
|
run: |
|
||||||
bash get_artifacts.sh ${{ secrets.GITHUB_TOKEN }}
|
bash get_artifacts.sh ${{ secrets.ARTIFACTS_TOKEN }}
|
||||||
ls -lh
|
ls -lh
|
||||||
-
|
-
|
||||||
name: Build and push by digest
|
name: Build and push by digest
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
FROM initialencounter/napcat:base
|
FROM mlikiowa/napcat-docker:base
|
||||||
|
|
||||||
COPY NapCat.linux.zip /tmp/NapCat.linux.zip
|
COPY NapCat.linux.zip /tmp/NapCat.linux.zip
|
||||||
COPY config.txt entrypoint.sh /root/
|
COPY config.txt entrypoint.sh /root/
|
||||||
|
|
||||||
# 安装Linux QQ
|
# 安装Linux QQ
|
||||||
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
|
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
|
||||||
curl -o /root/linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.7_240410_{arch}_01.deb && \
|
curl -o /root/linuxqq.deb https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.7_240410_${arch}_01.deb && \
|
||||||
ls -lh /root && \
|
ls -lh /root && \
|
||||||
dpkg -i --force-depends /root/linuxqq.deb && rm /root/linuxqq.deb && \
|
dpkg -i --force-depends /root/linuxqq.deb && rm /root/linuxqq.deb && \
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
repository="NapNeko/NapCat.Build"
|
repository="NapNeko/NapCat.Build"
|
||||||
run_id="8662095740"
|
run_id="8662095740"
|
||||||
arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/)
|
arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/)
|
||||||
artifact_name="NapCat.linux.{$arch}"
|
artifact_name="NapCat.linux.$arch"
|
||||||
token="$1"
|
token="$1"
|
||||||
|
|
||||||
# 设置输出目录
|
# 设置输出目录
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user