A discord bot for teal.fm
discord tealfm music

more ci debugging

besaid.zone 1e09792b bc3945d0

verified
Changed files
+7 -6
.tangled
workflows
+7 -4
.tangled/workflows/docker-atcr.yml
··· 14 14 command: | 15 15 VCS_REF=$(git rev-parse HEAD) 16 16 BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) 17 - VERSION=$(git describe --tags --abbrev=0 origin/main) 17 + 18 + git remote -v || true 19 + 20 + # If shallow, unshallow. If not shallow, this is harmless. 21 + git fetch --prune --unshallow 2>/dev/null || true 18 22 19 - echo $VCS_REF 20 - echo $BUILD_DATE 21 - echo $VERSION 23 + # Fetch full tag refs explicitly 24 + git fetch --prune --tags --force origin 'refs/tags/*:refs/tags/*' 22 25 23 26 exit 1
-2
Dockerfile
··· 4 4 RUN corepack enable 5 5 USER 1000 6 6 7 - ARG VERSION 8 7 ARG BUILD_DATE 9 8 ARG SHA 10 9 ··· 48 47 org.opencontainers.image.title="discostu" \ 49 48 org.opencontainers.image.description="A discord bot that displays your music listens based on your teal.fm records" \ 50 49 org.opencontainers.image.created=$BUILD_DATE \ 51 - org.opencontainers.image.version=$VERSION \ 52 50 org.opencontainers.image.revision=$SHA \ 53 51 org.opencontainers.image.licenses="MIT"