Skip to content

Commit

Permalink
ci: 删除 refs-heads
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Nov 12, 2024
1 parent 0d4784d commit 78005f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 45 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-dev-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
id: generate_tag
run: |
# 获取分支名称,把/替换为-
echo ${{ github.ref }} | sed 's/\//-/g'
echo ::set-output name=tag::$(echo ${{ github.ref }} | sed 's/\//-/g')
echo ${{ github.ref }} | sed 's/refs\/heads\///g' | sed 's/\//-/g'
echo ::set-output name=tag::$(echo ${{ github.ref }} | sed 's/refs\/heads\///g' | sed 's/\//-/g')
- name: Login to Registry
run: docker login --username=${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }}
- name: Build Docker Image
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/sync-wiki.yml

This file was deleted.

0 comments on commit 78005f8

Please sign in to comment.