diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 226172f864319888fcdcff9ebdf9eee3f55e9f74..987550fbe71d24c7270e0ffbae50497d748c5b65 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,12 @@ variables:
   ## Ref: https://github.com/eic/eic-spack/commit/[hash]
   ## [hash]: [description]
 
+  ## S3 buildcache access
+  S3_ENDPOINT_URL: "https://dtn01.sdcc.bnl.gov:9000"
+  ## S3 credentials (through CI/CD variables)
+  AWS_ACCESS_KEY_ID: "${S3_ACCESS_KEY}"
+  AWS_SECRET_ACCESS_KEY: "${S3_SECRET_KEY}"
+
   ## We need to enable Docker Buildkit to use cache mounts and better
   ## build performance overall
   DOCKER_BUILDKIT: 1