From 689e2ac42c5f4cd200d7ce08a847a39f99367280 Mon Sep 17 00:00:00 2001 From: Phillip Schichtel Date: Mon, 16 Sep 2024 00:34:38 +0200 Subject: [PATCH] use the correct dockerfile and version --- .github/workflows/container-images.yml | 2 +- Dockerfile.joex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container-images.yml b/.github/workflows/container-images.yml index c0f5f2c..d36ba3e 100644 --- a/.github/workflows/container-images.yml +++ b/.github/workflows/container-images.yml @@ -26,6 +26,6 @@ jobs: tag="${GITHUB_REF##*/}" if [ "$tag" = 'main' ]; then tag='latest'; fi image_name="ghcr.io/docspell/joex:${tag}" - docker build --cache-from type=gha --cache-to type=gha,mode=max -t "$image_name" . + docker build --cache-from type=gha --cache-to type=gha,mode=max -t "$image_name" -f Dockerfile.joex . docker push "$image_name" diff --git a/Dockerfile.joex b/Dockerfile.joex index 9c5b1b7..c3a943f 100644 --- a/Dockerfile.joex +++ b/Dockerfile.joex @@ -29,7 +29,7 @@ RUN apt install -y \ WORKDIR /opt -ARG DOCSPELL_VERSION +ARG DOCSPELL_VERSION=0.42.0 RUN curl -sLfo joex.zip "https://github.com/eikek/docspell/releases/download/v${DOCSPELL_VERSION}/docspell-joex-${DOCSPELL_VERSION}.zip" && \ unzip joex.zip && \