From 07db2bf08b30d28784f322e17c1147ad19cfc62e Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Wed, 4 Jan 2023 15:52:49 +0100 Subject: [PATCH] ci: use stable alpine tools --- .woodpecker/lint.yml | 8 ++++---- .woodpecker/release-version.yml | 5 ++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index fd0c31a..9f5a68c 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -14,7 +14,7 @@ pipeline: image: alpine:3.17.0 pull: true commands: - - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm + - apk add --no-cache helm - helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami - helm dependency build @@ -22,20 +22,20 @@ pipeline: image: alpine:3.17.0 pull: true commands: - - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm + - apk add --no-cache helm - helm lint helm-template: image: alpine:3.17.0 pull: true commands: - - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm + - apk add --no-cache helm - helm template --debug gitea-helm . verify-readme: image: alpine:3.17.0 pull: true commands: - - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing make nodejs npm git + - apk add --no-cache make nodejs npm git - make readme - git diff --exit-code --name-only README.md diff --git a/.woodpecker/release-version.yml b/.woodpecker/release-version.yml index b58fe00..c3c05ea 100644 --- a/.woodpecker/release-version.yml +++ b/.woodpecker/release-version.yml @@ -13,8 +13,7 @@ pipeline: image: alpine:3.17.0 pull: true commands: - - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm - - apk add --no-cache git nodejs npm + - apk add --no-cache git nodejs npm helm - helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami - helm dependency build - rm -rf tmp/ @@ -40,7 +39,7 @@ pipeline: image: alpine:3.17.0 pull: true commands: - - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm + - apk add --no-cache helm - echo $${TOKEN} | helm registry login -u viceice --password-stdin codeberg.org/forgejo-contrib - helm push tmp/forgejo-${CI_COMMIT_TAG##v}.tgz oci://codeberg.org/forgejo-contrib secrets: