mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-20 07:00:10 +08:00
feat: get artifacts
This commit is contained in:
parent
27825326bc
commit
aa146254b2
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
@ -47,6 +47,10 @@ jobs:
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
-
|
||||
name: Get artifacts
|
||||
run: |
|
||||
sh -c get_artifacts.sh ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
name: Build and push by digest
|
||||
id: build
|
||||
|
||||
@ -5,7 +5,7 @@ repository="NapNeko/NapCat.Build"
|
||||
run_id="8662095740"
|
||||
arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/x64/)
|
||||
artifact_name="NapCat.linux.{$arch}"
|
||||
token=""
|
||||
token="$1"
|
||||
|
||||
# 设置输出目录
|
||||
output_dir="."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user