diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c090cf6 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 . \ No newline at end of file diff --git a/README.md b/README.md index 7d8c9d2..b02ac62 100644 --- a/README.md +++ b/README.md @@ -6,17 +6,20 @@ An alternative frontend for Imgur. Based on [rimgu](https://codeberg.org/3np/rim License: AGPLv3 + + CI + 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!):