Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit c3bcadc

Browse files
committed
Added gitea #3727
1 parent 5a7f356 commit c3bcadc

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,17 @@
13991399
"datasourceTemplate": "github-releases",
14001400
"extractVersionTemplate": "^v(?<version>.+?)$"
14011401
},
1402+
{
1403+
"fileMatch": [
1404+
"^tools/gitea/manifest.yaml$"
1405+
],
1406+
"matchStrings": [
1407+
"version: \"?(?<currentValue>.*?)\"?\\n"
1408+
],
1409+
"depNameTemplate": "go-gitea/gitea",
1410+
"datasourceTemplate": "github-releases",
1411+
"extractVersionTemplate": "^v(?<version>.+?)$"
1412+
},
14021413
{
14031414
"fileMatch": [
14041415
"^tools/gitjob/manifest.yaml$"

tools/gitea/Dockerfile.template

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
curl --silent --location --fail "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-${version}-linux-${alt_arch}.xz" \
10+
| xz --decompress >"${prefix}${target}/bin/gitea"
11+
chmod +x "${prefix}${target}/bin/gitea"
12+
EOF

tools/gitea/manifest.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: gitea
2+
version: "1.17.3"
3+
check: ${binary} --version | cut -d' ' -f3
4+
tags:
5+
- org/?
6+
- category/development
7+
- lang/go
8+
- type/daemon
9+
- type/cli
10+
homepage: https://github.com/go-gitea/gitea
11+
description: Git with a cup of tea, painless self-hosted git service
12+
renovate:
13+
datasource: github-releases
14+
package: go-gitea/gitea
15+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)