This commit is contained in:
parent
10cef87bc3
commit
f84f84ed53
@ -58,25 +58,16 @@ jobs:
|
||||
# passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
|
||||
# fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0
|
||||
|
||||
# - name: Add Artifacthub.io annotations
|
||||
# env:
|
||||
# YQ_VERSION: v4.45.4 # renovate: datasource=github-releases depName=mikefarah/yq
|
||||
# run: |
|
||||
# # determine operating system
|
||||
# OS=$(uname | tr '[:upper:]' '[:lower:]')
|
||||
- name: Add Artifacthub.io annotations
|
||||
env:
|
||||
YQ_VERSION: v4.45.4 # renovate: datasource=github-releases depName=mikefarah/yq
|
||||
run: |
|
||||
# Download yq
|
||||
curl --silent --fail --location https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_${OS}_${ARCH}.tar.gz --output /dev/stdout | tar --extract --gzip && mv yq_${OS}_${ARCH} /usr/bin/yq
|
||||
|
||||
# # determine architecture
|
||||
# ARCH="$(uname -m)"
|
||||
# case "${ARCH}" in
|
||||
# x86_64) ARCH=amd64;;
|
||||
# esac
|
||||
|
||||
# # Download yq
|
||||
# curl --silent --fail --location https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_${OS}_${ARCH}.tar.gz --output /dev/stdout | tar --extract --gzip && mv yq_${OS}_${ARCH} /usr/bin/yq
|
||||
|
||||
# NEW_TAG="$(git tag --sort=-version:refname | head -n 1)"
|
||||
# OLD_TAG="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)"
|
||||
# .gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}"
|
||||
NEW_TAG="$(git tag --sort=-version:refname | head -n 1)"
|
||||
OLD_TAG="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)"
|
||||
.gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}"
|
||||
|
||||
# # Using helm gpg plugin as 'helm package --sign' has issues with gpg2: https://github.com/helm/helm/issues/2843
|
||||
# - name: package chart
|
||||
|
Loading…
x
Reference in New Issue
Block a user