Update push-node-status-api.yaml

This commit is contained in:
Mark Sinclair
2025-07-11 11:12:09 +01:00
committed by GitHub
parent 14378b1db9
commit d1660c01e6
+5 -6
View File
@@ -50,18 +50,17 @@ jobs:
- name: New env vars
run: echo "RELEASE_TAG='$RELEASE_TAG' GIT_TAG='$GIT_TAG' IMAGE_NAME_AND_TAGS='$IMAGE_NAME_AND_TAGS'"
- name: Remove existing tag if exists
run: |
if git rev-parse $${{ env.GIT_TAG }} >/dev/null 2>&1; then
git push --delete origin $${{ env.GIT_TAG }}
git tag -d $${{ env.GIT_TAG }}
if git rev-parse $GIT_TAG >/dev/null 2>&1; then
git push --delete origin $GIT_TAG
git tag -d $GIT_TAG
fi
- name: Create tag
run: |
git tag -a $${{ env.GIT_TAG }} -m "Version ${{ steps.get_version.outputs.result }}"
git push origin $${{ env.GIT_TAG }}
git tag -a $GIT_TAG -m "Version ${{ steps.get_version.outputs.result }}"
git push origin $GIT_TAG
- name: BuildAndPushImageOnHarbor
run: |