mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Pre for PR
This commit is contained in:
parent
750adb75d9
commit
f44d4c4d92
2
.github/workflows/BuildImage.yml
vendored
2
.github/workflows/BuildImage.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
echo "BASEIMAGE=${{ env.BASEIMAGE }}" >> $GITHUB_OUTPUT
|
||||
echo "MODNAME=${{ env.MODNAME }}" >> $GITHUB_OUTPUT
|
||||
# **** If the mod needs to be versioned, set the versioning logic below. Otherwise leave as is. ****
|
||||
MOD_VERSION=${GITHUB_SHA:0:7}
|
||||
MOD_VERSION="2.4.0"
|
||||
echo "MOD_VERSION=${MOD_VERSION}" >> $GITHUB_OUTPUT
|
||||
outputs:
|
||||
GITHUB_REPO: ${{ steps.outputs.outputs.GITHUB_REPO }}
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
## Buildstage ##
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage
|
||||
|
||||
ARG MOD_VERSION
|
||||
|
||||
# copy local files
|
||||
@ -17,11 +16,14 @@ RUN \
|
||||
|
||||
## Single layer deployed image ##
|
||||
FROM scratch
|
||||
ARG MOD_VERSION
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/TheCaptain989/lidarr-flac2mp3
|
||||
LABEL org.opencontainers.image.title=lidarr-flac2mp3
|
||||
LABEL org.opencontainers.image.description="A Docker Mod to Lidarr to automatically convert FLAC files to MP3s, or other format"
|
||||
LABEL org.opencontainers.image.licenses=GPL-3.0-only
|
||||
LABEL org.opencontainers.image.version="${MOD_VERSION}"
|
||||
LABEL org.opencontainers.image.source="https://github.com/TheCaptain989/lidarr-flac2mp3"
|
||||
LABEL org.opencontainers.image.authors="TheCaptain989 <thecaptain989@protonmail.com>"
|
||||
LABEL org.opencontainers.image.licenses=GPL-3.0-only
|
||||
|
||||
# Add files from buildstage
|
||||
COPY --from=buildstage /root-layer/ /
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user