From 232a1a4bce36a77415a88d46facd24203f3d8266 Mon Sep 17 00:00:00 2001 From: dena Date: Tue, 17 Jun 2025 15:11:01 +0200 Subject: [PATCH 1/5] add UA env var --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1f105e9..06877cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,8 @@ FROM wikibase/wdqs:0.3.135-wmde.13 LABEL org.opencontainers.image.source="https://github.com/wbstack/queryservice" +ENV USER_AGENT="Wikibase.Cloud Query Service; https://wikibase.cloud/"} + COPY ./entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh From 79ae10634414ee633d1d843ee5feda2fa1bb5150 Mon Sep 17 00:00:00 2001 From: dena Date: Tue, 17 Jun 2025 15:18:21 +0200 Subject: [PATCH 2/5] add wdqs image version --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06877cb..a6d2708 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ -FROM wikibase/wdqs:0.3.135-wmde.13 +ARG VERSION=0.3.135-wmde.13 +FROM wikibase/wdqs:$VERSION +ARG VERSION LABEL org.opencontainers.image.source="https://github.com/wbstack/queryservice" -ENV USER_AGENT="Wikibase.Cloud Query Service; https://wikibase.cloud/"} +ENV USER_AGENT="Wikibase.Cloud Query Service ($VERSION); https://wikibase.cloud/"} COPY ./entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh From c81c7e58a7f0cf537494008e2ecc283dd4a6ed7e Mon Sep 17 00:00:00 2001 From: dena Date: Tue, 17 Jun 2025 15:21:38 +0200 Subject: [PATCH 3/5] update cache action version --- .github/workflows/docker.build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.build.yml b/.github/workflows/docker.build.yml index 2428d17..2ca6e6f 100644 --- a/.github/workflows/docker.build.yml +++ b/.github/workflows/docker.build.yml @@ -29,7 +29,7 @@ jobs: uses: docker/setup-buildx-action@v3.3.0 - name: Cache Docker layers - uses: actions/cache@v4.0.2 + uses: actions/cache@v4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} From 242217fd796b402785cbe9bb8ea315764ffb3af3 Mon Sep 17 00:00:00 2001 From: dena Date: Tue, 17 Jun 2025 15:29:27 +0200 Subject: [PATCH 4/5] typo --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a6d2708..0f16b50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VERSION LABEL org.opencontainers.image.source="https://github.com/wbstack/queryservice" -ENV USER_AGENT="Wikibase.Cloud Query Service ($VERSION); https://wikibase.cloud/"} +ENV USER_AGENT="Wikibase.Cloud Query Service ($VERSION); https://wikibase.cloud/" COPY ./entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh From d96e4954b075173c2e8b0b3ebb255af1509aedd8 Mon Sep 17 00:00:00 2001 From: dena Date: Tue, 17 Jun 2025 15:33:45 +0200 Subject: [PATCH 5/5] use github repo url --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0f16b50..2a57373 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VERSION LABEL org.opencontainers.image.source="https://github.com/wbstack/queryservice" -ENV USER_AGENT="Wikibase.Cloud Query Service ($VERSION); https://wikibase.cloud/" +ENV USER_AGENT="Wikibase.Cloud Query Service ($VERSION); https://github.com/wbstack/queryservice" COPY ./entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh