Skip to content

Commit

Permalink
ci: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
loboda4450 committed Jul 14, 2024
1 parent 05731af commit 62ee665
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,26 @@ jobs:

- name: Verify if the tag exists
run: |
echo "start"
tags="$(git tag -l)"
echo "TAGS: $tags"
if "$tags" | grep -i -q "${{ env.TAG }}"; then
echo "This tag ("${{ env.TAG }}") already exists!"
exit 1
fi
# - name: Create release
# uses: ncipollo/[email protected]
# with:
# commit: main
# tag: "${{ env.TAG }}"
# generateReleaseNotes: true
#
# - name: Release Helm Chart
# uses: appany/[email protected]
# with:
# name: voltaserve
# repository: kouprlabs/voltaserve-helm
# tag: "${{ env.TAG }}"
# registry: ghcr.io
# registry_username: ${{ github.actor }}
# registry_password: ${{ github.token }}
# update_dependencies: true
- name: Create release
uses: ncipollo/[email protected]
with:
commit: main
tag: "${{ env.TAG }}"
generateReleaseNotes: true

- name: Release Helm Chart
uses: appany/[email protected]
with:
name: voltaserve
repository: kouprlabs/voltaserve-helm
tag: "${{ env.TAG }}"
registry: ghcr.io
registry_username: ${{ github.actor }}
registry_password: ${{ github.token }}
update_dependencies: true

0 comments on commit 62ee665

Please sign in to comment.