transmission-floodui update/add workflows

This commit is contained in:
aptalca
2023-05-18 15:12:18 -04:00
parent b2f6e77571
commit 3ac15686bd
4 changed files with 57 additions and 67 deletions
+4 -4
View File
@@ -2,17 +2,17 @@
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
ARG FLOOD_VERSION
ARG MOD_VERSION
RUN \
echo "**** grab flood-for-transmission ****" && \
if [ -z ${FLOOD_VERSION+x} ]; then \
FLOOD_VERSION=$(curl -s "https://api.github.com/repos/johman10/flood-for-transmission/releases/latest" \
if [ -z ${MOD_VERSION+x} ]; then \
MOD_VERSION=$(curl -s "https://api.github.com/repos/johman10/flood-for-transmission/releases/latest" \
| jq -rc ".tag_name"); \
fi && \
curl -o \
/tmp/flood.tar.gz -L \
"https://github.com/johman10/flood-for-transmission/releases/download/${FLOOD_VERSION}/flood-for-transmission.tar.gz" && \
"https://github.com/johman10/flood-for-transmission/releases/download/${MOD_VERSION}/flood-for-transmission.tar.gz" && \
mkdir -p /root-layer/themes/flood-for-transmission && \
tar xzf \
/tmp/flood.tar.gz -C \