Add GitLab CI

This commit is contained in:
video-prize-ranch 2022-02-21 12:23:23 -05:00
parent d9b8b660f4
commit 718a017ccf
No known key found for this signature in database
GPG Key ID: D8EAA4C5B12A7281
2 changed files with 30 additions and 6 deletions

21
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,21 @@
variables:
REPO_NAME: codeberg.org/video-prize-ranch/rimgo
DOCKER_HOST: tcp://docker:2375
build:
image: docker:20
stage: deploy
services:
- name: docker:20-dind
command: ["--experimental"]
before_script:
- mkdir -p ~/.docker/cli-plugins
- wget -O ~/.docker/cli-plugins/docker-buildx https://github.com/docker/buildx/releases/download/v0.7.1/buildx-v0.7.1.linux-amd64
- chmod +x ~/.docker/cli-plugins/docker-buildx
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker context create mybuilder
- docker buildx create --use --name mybuilder mybuilder
- docker pull $CI_REGISTRY_IMAGE:latest || true
- docker buildx build --cache-from $CI_REGISTRY_IMAGE:latest --platform linux/amd64,linux/arm64 --push -t $CI_REGISTRY_IMAGE:latest .

View File

@ -6,17 +6,20 @@ An alternative frontend for Imgur. Based on [rimgu](https://codeberg.org/3np/rim
<a href="https://www.gnu.org/licenses/agpl-3.0.en.html">
<img alt="License: AGPLv3" src="https://shields.io/badge/License-AGPL%20v3-blue.svg">
</a>
<a href="https://gitlab.com/overtime-zone-wildfowl/rimgo">
<img alt="CI" src="https://gitlab.com/overtime-zone-wildfowl/rimgo/badges/main/pipeline.svg">
</a>
It's read-only and works without JavaScript. Images and albums can be viewed without wasting resources from downloading and running tracking scripts. No sign-up nags.
## Features
- [x] URL-compatible with i.imgur.com - just replace the domain in the URL
- [x] Images and videos (gifv, mp4)
- [ ] Galleries with comments
- [x] Albums
- [ ] User page
- [ ] Tag page
- URL-compatible with i.imgur.com - just replace the domain in the URL
- Images and videos (~~gifv~~, mp4)
- Galleries with comments
- Albums
- User page
- Tag page
This is currently very early stage software. Some things left to implement (contributions welcome!):