mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
fix external trigger
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
echo "BASEIMAGE=${{ env.BASEIMAGE }}" >> $GITHUB_OUTPUT
|
echo "BASEIMAGE=${{ env.BASEIMAGE }}" >> $GITHUB_OUTPUT
|
||||||
echo "MODNAME=${{ env.MODNAME }}" >> $GITHUB_OUTPUT
|
echo "MODNAME=${{ env.MODNAME }}" >> $GITHUB_OUTPUT
|
||||||
# **** If the mod needs to be versioned, set the versioning logic below. Otherwise leave as is. ****
|
# **** If the mod needs to be versioned, set the versioning logic below. Otherwise leave as is. ****
|
||||||
MOD_VERSION=$(curl -sL https://julialang.org/downloads/ | sed 's|.*Current stable release: v||' | sed 's| (.*||')
|
MOD_VERSION=$(curl -sL https://julialang.org/downloads/ | grep 'Current stable release:' | sed 's|.*Current stable release: v||' | sed 's| (.*||')
|
||||||
echo "MOD_VERSION=${MOD_VERSION}" >> $GITHUB_OUTPUT
|
echo "MOD_VERSION=${MOD_VERSION}" >> $GITHUB_OUTPUT
|
||||||
outputs:
|
outputs:
|
||||||
GITHUB_REPO: ${{ steps.outputs.outputs.GITHUB_REPO }}
|
GITHUB_REPO: ${{ steps.outputs.outputs.GITHUB_REPO }}
|
||||||
|
|||||||
+2
-1
@@ -1,12 +1,13 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.19 as buildstage
|
||||||
|
|
||||||
ARG MOD_VERSION
|
ARG MOD_VERSION
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
if [ -z "${MOD_VERSION}" ]; then \
|
if [ -z "${MOD_VERSION}" ]; then \
|
||||||
MOD_VERSION=$(curl -sL https://julialang.org/downloads/ \
|
MOD_VERSION=$(curl -sL https://julialang.org/downloads/ \
|
||||||
|
| grep 'Current stable release:' \
|
||||||
| sed 's|.*Current stable release: v||' \
|
| sed 's|.*Current stable release: v||' \
|
||||||
| sed 's| (.*||'); \
|
| sed 's| (.*||'); \
|
||||||
fi && \
|
fi && \
|
||||||
|
|||||||
Reference in New Issue
Block a user