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#2e6af7b1ba666a32d63d23319ac5004ba3261794 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}" triggers: [] oauth: ""