You've already forked prometheus-fail2ban-exporter-charts
							
							refac(ci): cleanup GitHub Actions
This commit is contained in:
		| @@ -2,10 +2,8 @@ name: Release | |||||||
|  |  | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|     branches: |     tags: | ||||||
|     - master |     - "**" | ||||||
|     # tags: |  | ||||||
|     # - "**" |  | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   publish-chart: |   publish-chart: | ||||||
| @@ -22,18 +20,11 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           fetch-depth: 0 |           fetch-depth: 0 | ||||||
|  |  | ||||||
|  |  | ||||||
|       - name: Add Artifacthub.io annotations |       - name: Add Artifacthub.io annotations | ||||||
|         run: | |         run: | | ||||||
|           git tag |  | ||||||
|           # git fetch --unshallow --tags --force |  | ||||||
|  |  | ||||||
|           NEW_TAG="$(git describe --abbrev=0)" |           NEW_TAG="$(git describe --abbrev=0)" | ||||||
|           OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")" |           OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")" | ||||||
|  |  | ||||||
|           echo "Old: ${OLD_TAG}" |  | ||||||
|           echo "New: ${NEW_TAG}" |  | ||||||
|  |  | ||||||
|           .gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}" |           .gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}" | ||||||
|  |  | ||||||
|       - name: Package chart |       - name: Package chart | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user