mirror of
https://github.com/linuxserver/docker-overseerr.git
synced 2026-02-23 00:00:48 +08:00
Add info about develop tag
This commit is contained in:
parent
399153f027
commit
e608e67854
@ -9,7 +9,6 @@ LABEL maintainer="nemchik"
|
||||
|
||||
# set environment variables
|
||||
ENV HOME="/config"
|
||||
ENV COMMIT_TAG="${OVERSEERR_VERSION}"
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
@ -27,9 +26,7 @@ RUN \
|
||||
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
if [ -z ${COMMIT_TAG+x} ]; then \
|
||||
COMMIT_TAG="${OVERSEERR_VERSION}"; \
|
||||
fi && \
|
||||
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
|
||||
curl -o \
|
||||
/tmp/overseerr.tar.gz -L \
|
||||
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
|
||||
@ -44,7 +41,7 @@ RUN \
|
||||
yarn build && \
|
||||
yarn install --production --ignore-scripts --prefer-offline && \
|
||||
yarn cache clean && \
|
||||
echo "{\"commitTag\": \"${OVERSEERR_VERSION}\"}" > committag.json && \
|
||||
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
|
||||
rm -rf /app/overseerr/config && \
|
||||
ln -s /config /app/overseerr/config && \
|
||||
echo "**** cleanup ****" && \
|
||||
|
||||
@ -9,7 +9,6 @@ LABEL maintainer="nemchik"
|
||||
|
||||
# set environment variables
|
||||
ENV HOME="/config"
|
||||
ENV COMMIT_TAG="${OVERSEERR_VERSION}"
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
@ -27,9 +26,7 @@ RUN \
|
||||
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
if [ -z ${COMMIT_TAG+x} ]; then \
|
||||
COMMIT_TAG="${OVERSEERR_VERSION}"; \
|
||||
fi && \
|
||||
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
|
||||
curl -o \
|
||||
/tmp/overseerr.tar.gz -L \
|
||||
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
|
||||
@ -44,7 +41,7 @@ RUN \
|
||||
yarn build && \
|
||||
yarn install --production --ignore-scripts --prefer-offline && \
|
||||
yarn cache clean && \
|
||||
echo "{\"commitTag\": \"${OVERSEERR_VERSION}\"}" > committag.json && \
|
||||
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
|
||||
rm -rf /app/overseerr/config && \
|
||||
ln -s /config /app/overseerr/config && \
|
||||
echo "**** cleanup ****" && \
|
||||
|
||||
@ -9,7 +9,6 @@ LABEL maintainer="nemchik"
|
||||
|
||||
# set environment variables
|
||||
ENV HOME="/config"
|
||||
ENV COMMIT_TAG="${OVERSEERR_VERSION}"
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
@ -27,9 +26,7 @@ RUN \
|
||||
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
if [ -z ${COMMIT_TAG+x} ]; then \
|
||||
COMMIT_TAG="${OVERSEERR_VERSION}"; \
|
||||
fi && \
|
||||
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
|
||||
curl -o \
|
||||
/tmp/overseerr.tar.gz -L \
|
||||
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
|
||||
@ -44,7 +41,7 @@ RUN \
|
||||
yarn build && \
|
||||
yarn install --production --ignore-scripts --prefer-offline && \
|
||||
yarn cache clean && \
|
||||
echo "{\"commitTag\": \"${OVERSEERR_VERSION}\"}" > committag.json && \
|
||||
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
|
||||
rm -rf /app/overseerr/config && \
|
||||
ln -s /config /app/overseerr/config && \
|
||||
echo "**** cleanup ****" && \
|
||||
|
||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -16,7 +16,7 @@ pipeline {
|
||||
GITHUB_TOKEN=credentials('498b4638-2d02-4ce5-832d-8a57d01d97ab')
|
||||
GITLAB_TOKEN=credentials('b6f0f1dd-6952-4cf6-95d1-9c06380283f0')
|
||||
GITLAB_NAMESPACE=credentials('gitlab-namespace-id')
|
||||
EXT_GIT_BRANCH = 'develop'
|
||||
EXT_GIT_BRANCH = 'master'
|
||||
EXT_USER = 'sct'
|
||||
EXT_REPO = 'overseerr'
|
||||
BUILD_VERSION_ARG = 'OVERSEERR_VERSION'
|
||||
|
||||
@ -57,6 +57,14 @@ The architectures supported by this image are:
|
||||
| arm64 | arm64v8-latest |
|
||||
| armhf | arm32v7-latest |
|
||||
|
||||
## Version Tags
|
||||
|
||||
This image provides various versions that are available via tags. `latest` tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them.
|
||||
|
||||
| Tag | Description |
|
||||
| :----: | --- |
|
||||
| latest | Stable releases from GitHub |
|
||||
| develop | Development releases from commits in upstream develop branch |
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ release_type: stable
|
||||
release_tag: latest
|
||||
ls_branch: main
|
||||
repo_vars:
|
||||
- EXT_GIT_BRANCH = 'develop'
|
||||
- EXT_GIT_BRANCH = 'master'
|
||||
- EXT_USER = 'sct'
|
||||
- EXT_REPO = 'overseerr'
|
||||
- BUILD_VERSION_ARG = 'OVERSEERR_VERSION'
|
||||
|
||||
@ -16,7 +16,7 @@ available_architectures:
|
||||
- { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"}
|
||||
|
||||
# development version
|
||||
development_versions: false
|
||||
development_versions: true
|
||||
development_versions_items:
|
||||
- { tag: "latest", desc: "Stable releases from GitHub" }
|
||||
- { tag: "develop", desc: "Development releases from commits in upstream develop branch" }
|
||||
|
||||
@ -2,5 +2,7 @@
|
||||
|
||||
cd /app/overseerr || exit
|
||||
|
||||
export CONFIG_DIRECTORY="/config"
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc /usr/bin/yarn start
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user