Skip to content

Commit

Permalink
🔧 ci: refactor ci (--no-ci)
Browse files Browse the repository at this point in the history
- check tag from list
  • Loading branch information
jyje committed Sep 7, 2024
1 parent aa90023 commit be730fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
exit 1
fi
- name: Set tag and push in Github
- name: Check a tag from list
run: |
TAG_NAME="${{ env.image_version }}"
TAG_EXISTS=$(git tag --list $TAG_NAME)
if [ -n "$TAG_EXISTS" ]; then
echo "Tag $TAG_NAME already exists."
Expand Down

0 comments on commit be730fd

Please sign in to comment.