arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/main image: akkoma-basic-alpine registry: codeberg.org username: comcloudway image: alpine/edge packages: - openrc - docker repositories: {} secrets: - a7b36bdb-bcea-4360-a1a0-a55b84fb1ede shell: false sources: - http://git.hut.ccw.icu/~comcloudway/docker-akkoma-alpine#59b3617fd976f4d26ebf9b66151436cd96f4e312 tasks: - setup: | sudo rc-service docker start cat ~/.docker-login | docker login $registry -u $username --password-stdin - build: | cd docker-akkoma-alpine tag="$(git tag --contains HEAD | head -n 1)" docker build -t "$registry/$username/$image:${tag:-edge}" - publish: | cd docker-akkoma-alpine tag="$(git tag --contains HEAD | head -n 1)" docker push "$registry/$username/$image:${tag:-edge}" triggers: [] oauth: ""