A .builds/docker.yml => .builds/docker.yml +26 -0
@@ 0,0 1,26 @@
+image: alpine/edge
+packages:
+ - openrc
+ - docker
+sources:
+ - git.hut.ccw.icu/~comcloudway/docker-akkoma-alpine
+environment:
+ username: "comcloudway"
+ registry: "codeberg.org"
+ image: "akkoma-basic-alpine"
+secrets:
+ # codeberg packages r/w access token
+ # token should be placed in ~/.docker-login
+ - a7b36bdb-bcea-4360-a1a0-a55b84fb1ede
+tasks:
+ - setup: |
+ sudo rc-service docker start
+ cat ~/.docker-login | sudo docker login $registry -u $username --password-stdin
+ - build: |
+ cd docker-akkoma-alpine
+ tag="$(git tag --contains HEAD | head -n 1)"
+ sudo docker build -t "$registry/$username/$image:${tag:-edge}" .
+ - publish: |
+ cd docker-akkoma-alpine
+ tag="$(git tag --contains HEAD | head -n 1)"
+ sudo docker push "$registry/$username/$image:${tag:-edge}"
M README.md => README.md +2 -0
@@ 1,5 1,7 @@
# akkoma-basic-alpine
+[![builds.sr.ht status](http://builds.hut.ccw.icu/~comcloudway/docker-akkoma-alpine.svg)](http://builds.hut.ccw.icu/~comcloudway/docker-akkoma-alpine?)
+
**If your are looking for the official akkoma provided docker images, click [here](https://docs.akkoma.dev/stable/installation/docker_en/)**
Unofficial [Akkoma](https://akkoma.social) docker image based on [Alpine Linux](https://alpinelinux.org),