+4
-4
Dockerfile
+4
-4
Dockerfile
···
10
ARG BUILD_DATE
11
ARG SHA
12
ARG VERSION
13
-
ARG ATPROTO_HANDLE
14
15
FROM base AS build
16
COPY --chown=1000:1000 apps/bot /app
···
37
EXPOSE 8002
38
CMD ["node", "dist/index.js"]
39
LABEL org.opencontainers.image.authors="Dane Miller 'me@dane.computer'" \
40
-
org.opencontainers.image.source="https://tangled.org/${ATPROTO_HANDLE}/tealfmbot" \
41
org.opencontainers.image.title="discostuweb" \
42
org.opencontainers.image.description="The web service for authentication for the disco stu discord bot" \
43
org.opencontainers.image.version=$VERSION \
···
51
WORKDIR /prod/bot
52
CMD ["node", "dist/main.js"]
53
LABEL org.opencontainers.image.authors="Dane Miller 'me@dane.computer'" \
54
-
org.opencontainers.image.source="https://tangled.org/${ATPROTO_HANDLE}/tealfmbot" \
55
org.opencontainers.image.title="discostubot" \
56
org.opencontainers.image.description="A discord bot that displays your music listens based on your teal.fm records" \
57
org.opencontainers.image.version=$VERSION \
···
65
WORKDIR /prod/tapper
66
CMD ["node", "dist/index.js"]
67
LABEL org.opencontainers.image.authors="Dane Miller 'me@dane.computer'" \
68
-
org.opencontainers.image.source="https://tangled.org/dane.is.extraordinarily.cool/tealfmbot" \
69
org.opencontainers.image.title="discostutap" \
70
org.opencontainers.image.description="The backfill and firehose listener for teal.fm records" \
71
org.opencontainers.image.version=$VERSION \
···
10
ARG BUILD_DATE
11
ARG SHA
12
ARG VERSION
13
+
ARG DID
14
15
FROM base AS build
16
COPY --chown=1000:1000 apps/bot /app
···
37
EXPOSE 8002
38
CMD ["node", "dist/index.js"]
39
LABEL org.opencontainers.image.authors="Dane Miller 'me@dane.computer'" \
40
+
org.opencontainers.image.source="https://tangled.org/${DID}/tealfmbot" \
41
org.opencontainers.image.title="discostuweb" \
42
org.opencontainers.image.description="The web service for authentication for the disco stu discord bot" \
43
org.opencontainers.image.version=$VERSION \
···
51
WORKDIR /prod/bot
52
CMD ["node", "dist/main.js"]
53
LABEL org.opencontainers.image.authors="Dane Miller 'me@dane.computer'" \
54
+
org.opencontainers.image.source="https://tangled.org/${DID}/tealfmbot" \
55
org.opencontainers.image.title="discostubot" \
56
org.opencontainers.image.description="A discord bot that displays your music listens based on your teal.fm records" \
57
org.opencontainers.image.version=$VERSION \
···
65
WORKDIR /prod/tapper
66
CMD ["node", "dist/index.js"]
67
LABEL org.opencontainers.image.authors="Dane Miller 'me@dane.computer'" \
68
+
org.opencontainers.image.source="https://tangled.org/${DID}/tealfmbot" \
69
org.opencontainers.image.title="discostutap" \
70
org.opencontainers.image.description="The backfill and firehose listener for teal.fm records" \
71
org.opencontainers.image.version=$VERSION \
+1
-2
apps/web/index.ts
+1
-2
apps/web/index.ts
+2
-2
build-and-publish-images.sh
+2
-2
build-and-publish-images.sh
···
2
BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
3
VERSION=$(git describe --tags --abbrev=0)
4
REGISTRY=atcr.io/besaid.zone
5
-
ATPROTO_HANDLE=besaid.zone
6
7
services=(
8
web
···
18
--target $svc \
19
--build-arg VERSION=${VERSION#v} \
20
--build-arg SHA=$SHA \
21
-
--build-arg ATPROTO_HANDLE=$ATPROTO_HANDLE \
22
--build-arg BUILD_DATE=$BUILD_DATE \
23
--pull \
24
--no-cache \
···
2
BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
3
VERSION=$(git describe --tags --abbrev=0)
4
REGISTRY=atcr.io/besaid.zone
5
+
DID=did:plc:qttsv4e7pu2jl3ilanfgc3zn
6
7
services=(
8
web
···
18
--target $svc \
19
--build-arg VERSION=${VERSION#v} \
20
--build-arg SHA=$SHA \
21
+
--build-arg DID=$DID \
22
--build-arg BUILD_DATE=$BUILD_DATE \
23
--pull \
24
--no-cache \