mirror of
https://github.com/linuxserver/docker-budge.git
synced 2026-02-05 04:38:13 +08:00
build from release, not commit
This commit is contained in:
parent
7c18c44f3c
commit
0022f3998c
@ -26,8 +26,8 @@ RUN \
|
||||
echo "**** install budge ****" && \
|
||||
mkdir -p /app/budge && \
|
||||
if [ -z ${BUDGE_RELEASE+x} ]; then \
|
||||
BUDGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/BudgE/commits/main" \
|
||||
| awk '/sha/{print $4;exit}' FS='[""]'); \
|
||||
BUDGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/BudgE/releases" \
|
||||
| jq -r '.[0] | .tag_name'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/budge.tar.gz -L \
|
||||
|
||||
@ -26,8 +26,8 @@ RUN \
|
||||
echo "**** install budge ****" && \
|
||||
mkdir -p /app/budge && \
|
||||
if [ -z ${BUDGE_RELEASE+x} ]; then \
|
||||
BUDGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/BudgE/commits/main" \
|
||||
| awk '/sha/{print $4;exit}' FS='[""]'); \
|
||||
BUDGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/BudgE/releases" \
|
||||
| jq -r '.[0] | .tag_name'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/budge.tar.gz -L \
|
||||
|
||||
@ -26,8 +26,8 @@ RUN \
|
||||
echo "**** install budge ****" && \
|
||||
mkdir -p /app/budge && \
|
||||
if [ -z ${BUDGE_RELEASE+x} ]; then \
|
||||
BUDGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/BudgE/commits/main" \
|
||||
| awk '/sha/{print $4;exit}' FS='[""]'); \
|
||||
BUDGE_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/BudgE/releases" \
|
||||
| jq -r '.[0] | .tag_name'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/budge.tar.gz -L \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user