This commit is contained in:
parent
0ea64ae840
commit
6ea72ebc90
@ -34,7 +34,7 @@ jobs:
|
||||
apt update -y
|
||||
apt install -y curl ca-certificates curl gnupg
|
||||
# helm
|
||||
curl --fail --location https://get.helm.sh/helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz --output /dev/stdout | tar --extract --gzip --file /dev/stdin
|
||||
curl --fail --location --silent https://get.helm.sh/helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz --output /dev/stdout | tar --extract --gzip --file /dev/stdin
|
||||
mv ${OS}-${ARCH}/helm /usr/local/bin/
|
||||
rm -rf ${OS}-${ARCH} helm-v${{ env.HELM_VERSION }}-${OS}-${ARCH}.tar.gz
|
||||
helm version
|
||||
@ -62,7 +62,9 @@ jobs:
|
||||
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
|
||||
curl --fail --location --silent https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_${OS}_${ARCH}.tar.gz --output /dev/stdout | tar --extract --gzip --file /dev/stdin
|
||||
mv yq_${OS}_${ARCH} /usr/local/bin
|
||||
yq --version
|
||||
|
||||
NEW_TAG="$(git tag --sort=-version:refname | head -n 1)"
|
||||
OLD_TAG="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)"
|
||||
@ -78,7 +80,7 @@ jobs:
|
||||
# helm package --version "${GITHUB_REF#refs/tags/v}" ./
|
||||
# mkdir gitea
|
||||
# mv gitea*.tgz gitea/
|
||||
# curl -s -L -o gitea/index.yaml https://dl.gitea.com/charts/index.yaml
|
||||
# curl --fail --location --silent -o gitea/index.yaml https://dl.gitea.com/charts/index.yaml
|
||||
# helm repo index gitea/ --url https://dl.gitea.com/charts --merge gitea/index.yaml
|
||||
# # push to dockerhub
|
||||
# echo ${{ secrets.DOCKER_CHARTS_PASSWORD }} | helm registry login -u ${{ secrets.DOCKER_CHARTS_USERNAME }} registry-1.docker.io --password-stdin
|
||||
|
Loading…
x
Reference in New Issue
Block a user