Skip to content

Commit

Permalink
feat: anime instance support
Browse files Browse the repository at this point in the history
built with this included: sct/overseerr#3664
  • Loading branch information
engels74 committed Sep 18, 2024
1 parent d6f0056 commit dbbd28e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/call-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ on:

jobs:
call:
uses: hotio/build-workflow/.github/workflows/build-on-call.yml@master
uses: engels74/docker-build-workflow/.github/workflows/build-on-call.yml@master
secrets: inherit
4 changes: 2 additions & 2 deletions linux-amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apk add --no-cache curl
ARG VERSION
ENV COMMIT_TAG=${VERSION}
RUN mkdir /build && \
curl -fsSL "https://github.com/sct/overseerr/archive/v${VERSION}.tar.gz" | tar xzf - -C "/build" --strip-components=1 && \
curl -fsSL "https://github.com/engels74/overseerr-anime-source/archive/v${VERSION}.tar.gz" | tar xzf - -C "/build" --strip-components=1 && \
cd /build && \
CYPRESS_INSTALL_BINARY=0 yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
Expand All @@ -26,7 +26,7 @@ COPY --from=builder /build/.next "${APP_DIR}/.next"
COPY --from=builder /build/node_modules "${APP_DIR}/node_modules"

ARG VERSION
RUN curl -fsSL "https://github.com/sct/overseerr/archive/v${VERSION}.tar.gz" | tar xzf - -C "${APP_DIR}" --strip-components=1 && \
RUN curl -fsSL "https://github.com/engels74/overseerr-anime-source/archive/v${VERSION}.tar.gz" | tar xzf - -C "${APP_DIR}" --strip-components=1 && \
echo '{"commitTag": "'"${VERSION}"'"}' > "${APP_DIR}/committag.json" && \
rm -rf "${APP_DIR}/config" && ln -s "${CONFIG_DIR}" "${APP_DIR}/config" && \
chmod -R u=rwX,go=rX "${APP_DIR}"
Expand Down
4 changes: 2 additions & 2 deletions linux-arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apk add --no-cache curl build-base python3 sqlite
ARG VERSION
ENV COMMIT_TAG=${VERSION}
RUN mkdir /build && \
curl -fsSL "https://github.com/sct/overseerr/archive/v${VERSION}.tar.gz" | tar xzf - -C "/build" --strip-components=1 && \
curl -fsSL "https://github.com/engels74/overseerr-anime-source/archive/v${VERSION}.tar.gz" | tar xzf - -C "/build" --strip-components=1 && \
cd /build && \
CYPRESS_INSTALL_BINARY=0 yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
Expand All @@ -26,7 +26,7 @@ COPY --from=builder /build/.next "${APP_DIR}/.next"
COPY --from=builder /build/node_modules "${APP_DIR}/node_modules"

ARG VERSION
RUN curl -fsSL "https://github.com/sct/overseerr/archive/v${VERSION}.tar.gz" | tar xzf - -C "${APP_DIR}" --strip-components=1 && \
RUN curl -fsSL "https://github.com/engels74/overseerr-anime-source/archive/v${VERSION}.tar.gz" | tar xzf - -C "${APP_DIR}" --strip-components=1 && \
echo '{"commitTag": "'"${VERSION}"'"}' > "${APP_DIR}/committag.json" && \
rm -rf "${APP_DIR}/config" && ln -s "${CONFIG_DIR}" "${APP_DIR}/config" && \
chmod -R u=rwX,go=rX "${APP_DIR}"
Expand Down
2 changes: 1 addition & 1 deletion update-versions.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/sct/overseerr/tags" | jq -re .[0].name) || exit 1
version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://api.github.com/repos/engels74/overseerr-anime-source/tags" | jq -re .[0].name) || exit 1
[[ -z ${version} ]] && exit 0
[[ ${version} == null ]] && exit 0
json=$(cat VERSION.json)
Expand Down

0 comments on commit dbbd28e

Please sign in to comment.