diff --git a/.github/workflows/dockerhub-build-push-on-release.yml b/.github/workflows/dockerhub-build-push-on-release.yml index 8b6db73..1161ebe 100644 --- a/.github/workflows/dockerhub-build-push-on-release.yml +++ b/.github/workflows/dockerhub-build-push-on-release.yml @@ -28,6 +28,9 @@ jobs: context: . file: ./Dockerfile push: true + build-args: | + BUILD_DATE=${{ github.event.repository.updated_at }} + VERSION=${{ github.event.release.tag_name }} tags: | ${{ secrets.DOCKERHUB_USERNAME }}/calibre-web-automated:${{ github.event.release.tag_name }} ${{ secrets.DOCKERHUB_USERNAME }}/calibre-web-automated:latest diff --git a/Dockerfile b/Dockerfile index 971b69c..0225526 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,9 +23,9 @@ ARG VERSION ARG CALIBREWEB_RELEASE=0.6.23 ARG LSCW_RELEASE=0.6.23-ls291 LABEL build_version="Version:- ${VERSION}" -LABEL build_type="localbuild" LABEL build_date="${BUILD_DATE}" LABEL CW-Stock-version="${CALIBREWEB_RELEASE}" +LABEL LSCW_Image_Release="${LSCW_RELEASE}" LABEL maintainer="CrocodileStick" # Copy local files into the container