diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 4fd4a49..8f8be4e 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -11,7 +11,7 @@ when: pipeline: deps: - image: alpine:3.17 + image: alpine:3.17.0 pull: true commands: - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm @@ -19,21 +19,21 @@ pipeline: - helm dependency build helm-lint: - image: alpine:3.17 + image: alpine:3.17.0 pull: true commands: - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm - helm lint helm-template: - image: alpine:3.17 + image: alpine:3.17.0 pull: true commands: - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm - helm template --debug gitea-helm . verify-readme: - image: alpine:3.17 + image: alpine:3.17.0 pull: true commands: - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing make npm git diff --git a/.woodpecker/release-version.yml b/.woodpecker/release-version.yml index 233d0dd..4796258 100644 --- a/.woodpecker/release-version.yml +++ b/.woodpecker/release-version.yml @@ -10,7 +10,7 @@ when: pipeline: generate-chart: - image: alpine:3.17 + image: alpine:3.17.0 pull: true commands: - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm @@ -19,6 +19,25 @@ pipeline: - helm dependency build - rm -rf tmp/ - helm package --version "${CI_COMMIT_TAG##v}" -d tmp/ ./ + secrets: + - token + + publish-release: + image: plugins/gitea-release + pull: true + settings: + base_url: https://codeberg.org + api_key: + from_secret: token + files: tmp/* + title: ${CI_COMMIT_TAG##v} + file_exists: fail + + publish-chart: + image: alpine:3.17.0 + pull: true + commands: + - apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing 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: