Skip to content

Commit f44d4c4

Browse files
committed
Pre for PR
1 parent 750adb7 commit f44d4c4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/BuildImage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
echo "BASEIMAGE=${{ env.BASEIMAGE }}" >> $GITHUB_OUTPUT
2121
echo "MODNAME=${{ env.MODNAME }}" >> $GITHUB_OUTPUT
2222
# **** If the mod needs to be versioned, set the versioning logic below. Otherwise leave as is. ****
23-
MOD_VERSION=${GITHUB_SHA:0:7}
23+
MOD_VERSION="2.4.0"
2424
echo "MOD_VERSION=${MOD_VERSION}" >> $GITHUB_OUTPUT
2525
outputs:
2626
GITHUB_REPO: ${{ steps.outputs.outputs.GITHUB_REPO }}

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
## Buildstage ##
44
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage
5-
65
ARG MOD_VERSION
76

87
# copy local files
@@ -17,11 +16,14 @@ RUN \
1716

1817
## Single layer deployed image ##
1918
FROM scratch
19+
ARG MOD_VERSION
2020

21-
LABEL org.opencontainers.image.source=https://github.com/TheCaptain989/lidarr-flac2mp3
21+
LABEL org.opencontainers.image.title=lidarr-flac2mp3
2222
LABEL org.opencontainers.image.description="A Docker Mod to Lidarr to automatically convert FLAC files to MP3s, or other format"
23-
LABEL org.opencontainers.image.licenses=GPL-3.0-only
23+
LABEL org.opencontainers.image.version="${MOD_VERSION}"
24+
LABEL org.opencontainers.image.source="https://github.com/TheCaptain989/lidarr-flac2mp3"
2425
LABEL org.opencontainers.image.authors="TheCaptain989 <[email protected]>"
26+
LABEL org.opencontainers.image.licenses=GPL-3.0-only
2527

2628
# Add files from buildstage
2729
COPY --from=buildstage /root-layer/ /

0 commit comments

Comments
 (0)