Pre for PR

This commit is contained in:
TheCaptain989 2024-08-18 10:00:04 -05:00
parent 750adb75d9
commit f44d4c4d92
No known key found for this signature in database
GPG Key ID: 1F732307BFABA4C4
2 changed files with 6 additions and 4 deletions

View File

@ -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 }}

View File

@ -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/ /