diff --git a/gitlab-ci-template.yml b/gitlab-ci-template.yml
index da61b7eb2aea9e10d28c6f4d79a706f00e9da46a..e3648ee787c3786f863805223439c8691b50d353 100644
--- a/gitlab-ci-template.yml
+++ b/gitlab-ci-template.yml
@@ -14,6 +14,8 @@ variables:
   image: quay.io/sheogorath/build-ah-engine:2.0.0
   before_script:
     - podman login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
+    - export VCS_REF="$CI_COMMIT_SHA"
+    - export VCS_URL="$CI_PROJECT_URL"
     - export BUILD_DATE="$(date --rfc-3339 ns)"
   script:
     - si-fix "${CI_REGISTRY_BUILD_DOCKERFILE:-./Dockerfile}"