This repository has been archived on 2026-07-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
barbirict 5f012559ad
ci/woodpecker/manual/renovate Pipeline failed
fix(ci): type registry and repo without var
2026-02-15 12:09:52 +01:00

41 lines
1.1 KiB
YAML

when:
- event: push
branch: main
- event: tag
ref: "refs/tags/v*"
steps:
- name: release
image: node:20-alpine
environment:
GITEA_TOKEN:
from_secret: gitea_token
GITEA_USERNAME:
from_secret: gitea_username
GITEA_URL: ${CI_FORGE_URL}
commands:
- apk add --no-cache git
- git config --global credential.helper store
- echo "https://$${GITEA_USERNAME}:$${GITEA_TOKEN}@git.barbiric.io" > ~/.git-credentials
- npm install -g semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/git @forge-for-gitea/semantic-release-gitea
- npx semantic-release
when:
event: push
branch: main
- name: docker
image: plugins/kaniko
settings:
registry: git.barbiric.io
repo: git.barbiric.io/${CI_REPO}
tags:
- latest
- "${CI_COMMIT_TAG##v}"
- "${CI_COMMIT_TAG}"
username:
from_secret: gitea_username
password:
from_secret: gitea_token
when:
event: tag
ref: "refs/tags/v*"