Skip to content

Commit

Permalink
测试工作流去除获取TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
eyunzhu committed Nov 7, 2024
1 parent 12a49d9 commit 7c2a740
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/docker-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Get Git tag
id: get_tag
run: |
TAG=$(git describe --tags --abbrev=0 2>/dev/null || git rev-parse --short HEAD )
echo "TAG=$TAG" >> $GITHUB_ENV
# 构建 baota:minimal
- name: Build minimal image
run: |
Expand Down

0 comments on commit 7c2a740

Please sign in to comment.