diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 909f1ad55400d564e46884754b998614f49c98d4..65e0138aac324a6c7fc2f40f4900809c2b725c2a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,5 +16,5 @@ Build docker image:
   before_script:
     - echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
   script:
-    - docker build --tag $IMG https://raw.githubusercontent.com/stac-utils/pgstac/main/Dockerfile
+    - docker build --tag $IMG https://github.com/stac-utils/pgstac/archive/refs/tags/v0.6.13.zip
     - docker push $IMG