This commit is contained in:
Junyan Qin 2024-11-10 16:29:40 +08:00
parent 73ffd67792
commit bf383bbf9c
No known key found for this signature in database
GPG Key ID: 22FE3AFADC710CEB

View File

@ -11,6 +11,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Generate Tag
id: generate_tag
run: |
# 获取分支名称,把/替换为-
echo ${{ github.ref }} | sed 's/\//-/g'
@ -20,4 +21,4 @@ jobs:
- name: Build Docker Image
run: |
docker buildx create --name mybuilder --use
docker build -t rockchin/langbot:${{ steps.generate-tag.outputs.tag }} . --push
docker build -t rockchin/langbot:${{ steps.generate_tag.outputs.tag }} . --push