mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
ci: fix
This commit is contained in:
parent
73ffd67792
commit
bf383bbf9c
3
.github/workflows/build-dev-image.yaml
vendored
3
.github/workflows/build-dev-image.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user