Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
RockChinQ committed Nov 10, 2024
1 parent 73ffd67 commit bf383bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-dev-image.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bf383bb

Please sign in to comment.