chore: upgrade Gitea to v1.18.3
- Upgrade Gitea to v1.18.3. - Use alpine:3.17 as base for the Gitea docker image. - Download the Gitea binary from GitHub.
This commit is contained in:
parent
5a4a0b807b
commit
92a56e0941
3 changed files with 4 additions and 4 deletions
|
@ -8,8 +8,8 @@ export $(cat ./config/flow-platform-services.cfg | grep GITEA_VERSION | tr -d "\
|
||||||
|
|
||||||
if ! [ -f ./build/gitea/gitea-${GITEA_VERSION}-linux-amd64 ]; then
|
if ! [ -f ./build/gitea/gitea-${GITEA_VERSION}-linux-amd64 ]; then
|
||||||
echo "Downloading Gitea ${GITEA_VERSION}..."
|
echo "Downloading Gitea ${GITEA_VERSION}..."
|
||||||
curl -sSL https://dl.gitea.io/gitea/${GITEA_VERSION}/gitea-${GITEA_VERSION}-linux-amd64 -o ./build/gitea/gitea-${GITEA_VERSION}-linux-amd64
|
curl -sSL https://github.com/go-gitea/gitea/releases/download/v${GITEA_VERSION}/gitea-${GITEA_VERSION}-linux-amd64 -o ./build/gitea/gitea-${GITEA_VERSION}-linux-amd64
|
||||||
curl -sSL https://dl.gitea.io/gitea/${GITEA_VERSION}/gitea-${GITEA_VERSION}-linux-amd64.sha256 -o ./build/gitea/gitea-${GITEA_VERSION}-linux-amd64.sha256
|
curl -sSL https://github.com/go-gitea/gitea/releases/download/v${GITEA_VERSION}/gitea-${GITEA_VERSION}-linux-amd64.sha256 -o ./build/gitea/gitea-${GITEA_VERSION}-linux-amd64.sha256
|
||||||
( cd ./build/gitea && sha256sum --check gitea-${GITEA_VERSION}-linux-amd64.sha256 )
|
( cd ./build/gitea && sha256sum --check gitea-${GITEA_VERSION}-linux-amd64.sha256 )
|
||||||
else
|
else
|
||||||
echo "Gitea ${GITEA_VERSION} is already present."
|
echo "Gitea ${GITEA_VERSION} is already present."
|
||||||
|
|
2
config
2
config
|
@ -1 +1 @@
|
||||||
Subproject commit 4ab39e99f55d17a884dd490af9bd47098a5b4b22
|
Subproject commit d8868a93bb9d01c32ba37566016125d95a0f4192
|
|
@ -1,6 +1,6 @@
|
||||||
# This is a custom made Dockerfile for Gitea which is inspired from
|
# This is a custom made Dockerfile for Gitea which is inspired from
|
||||||
# the official Dockerfile.rootless from https://github.com/go-gitea/gitea/
|
# the official Dockerfile.rootless from https://github.com/go-gitea/gitea/
|
||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
|
|
||||||
ENV GITEA_WORK_DIR=${GITEA_WORK_DIR} \
|
ENV GITEA_WORK_DIR=${GITEA_WORK_DIR} \
|
||||||
GITEA_CUSTOM=${GITEA_CUSTOM} \
|
GITEA_CUSTOM=${GITEA_CUSTOM} \
|
||||||
|
|
Loading…
Reference in a new issue