forked from cloudron-apps/gitea-app
Upgrade to 7.0.0
This commit is contained in:
parent
131e6e3a4a
commit
2c34ac688d
2 changed files with 17 additions and 11 deletions
|
@ -19,9 +19,9 @@ WORKDIR /home/git
|
||||||
# for autosign feature
|
# for autosign feature
|
||||||
ENV GNUPGHOME="/app/data/gnupg"
|
ENV GNUPGHOME="/app/data/gnupg"
|
||||||
|
|
||||||
ARG VERSION=81b83949-c44b-44ec-a74b-ff9cead25dac
|
ARG VERSION=7.0.0
|
||||||
|
|
||||||
RUN curl -L https://codeberg.org/attachments/${VERSION} -o /home/git/gitea/gitea \
|
RUN curl -L https://codeberg.org/forgejo/forgejo/releases/download/v${VERSION}/forgejo-${VERSION}-linux-amd64 -o /home/git/gitea/gitea \
|
||||||
&& chmod +x /home/git/gitea/gitea
|
&& chmod +x /home/git/gitea/gitea
|
||||||
|
|
||||||
# setup config paths
|
# setup config paths
|
||||||
|
@ -39,4 +39,3 @@ ADD start.sh /home/git/start.sh
|
||||||
COPY sshd_config /etc/ssh/sshd_config
|
COPY sshd_config /etc/ssh/sshd_config
|
||||||
|
|
||||||
CMD [ "/home/git/start.sh" ]
|
CMD [ "/home/git/start.sh" ]
|
||||||
|
|
||||||
|
|
23
README.md
23
README.md
|
@ -1,15 +1,23 @@
|
||||||
# Gitea Cloudron App
|
# Forgejo Cloudron App
|
||||||
|
|
||||||
This repository contains the Cloudron app package source for [Gitea](http://gitea.io/).
|
This repository contains the Cloudron app package source for [Forgejo](https://forgejo.org/).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp)
|
Using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
|
||||||
|
|
||||||
or using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
|
|
||||||
|
|
||||||
```
|
```
|
||||||
cloudron install --appstore-id io.gitea.cloudronapp
|
cloudron install --image rafaelcaricio/forgejo-cloudron-app:v7.0.0-1 --app code.caric.io
|
||||||
|
```
|
||||||
|
|
||||||
|
# Upgrading
|
||||||
|
|
||||||
|
Upgrade the `Dockerfile` with the version.
|
||||||
|
```
|
||||||
|
export VERSION=7.0.0
|
||||||
|
docker build --platform linux/amd64 -t "rafaelcaricio/forgejo-cloudron-app:v${VERSION}-1" .
|
||||||
|
docker push "rafaelcaricio/forgejo-cloudron-app:v${VERSION}-1"
|
||||||
|
cloudron update --image rafaelcaricio/forgejo-cloudron-app:v${VERSION}-1 --app code.caric.io --no-backup
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
@ -17,7 +25,7 @@ cloudron install --appstore-id io.gitea.cloudronapp
|
||||||
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
|
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
|
||||||
|
|
||||||
```
|
```
|
||||||
cd gitea-app
|
cd forgejo-app
|
||||||
|
|
||||||
cloudron build
|
cloudron build
|
||||||
cloudron install
|
cloudron install
|
||||||
|
@ -33,4 +41,3 @@ cd gitea-app/test
|
||||||
npm install
|
npm install
|
||||||
PATH=$PATH:node_modules/.bin USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js
|
PATH=$PATH:node_modules/.bin USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue