From d89350dd1a77d76561fd161b3e0675495ca727c3 Mon Sep 17 00:00:00 2001
From: Matthew K Defenderfer <mdefende@uab.edu>
Date: Thu, 3 Apr 2025 23:43:05 -0500
Subject: [PATCH] Switch to using the defined pipeline variables instead of the
 secrets file

---
 template-build-tags.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/template-build-tags.yml b/template-build-tags.yml
index ae8e043..7e0b930 100644
--- a/template-build-tags.yml
+++ b/template-build-tags.yml
@@ -4,7 +4,7 @@ stages:
 variables:
   GITHUB_URL: "github.com/google-deepmind/alphafold3.git"
   REGISTRY_URL: "${CI_REGISTRY_IMAGE}"
-  IMAGE_NAME: "alphafold"
+  IMAGE_NAME: "alphafold3"
   REPO_URL: "https://gitlab.rc.uab.edu/api/v4/projects/${CI_PROJECT_ID}/registry/repositories/"
   DOCKER_TLS_CERTDIR: "/certs"
 
@@ -21,10 +21,7 @@ build_tags:
     - echo "${CI_REGISTRY_PASSWORD}" | docker login -u "${CI_REGISTRY_USER}" --password-stdin ${CI_REGISTRY}
   script:
     - apk update && apk add git curl bash
-    - |
-      curl -s "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
-      source .secure_files/github-key
-      git clone https://${GITHUB_USER}:${GITHUB_TOKEN}@${GITHUB_URL}
+    - git clone https://${CI_GITHUB_USER}:${CI_GITHUB_TOKEN}@${GITHUB_URL}
     - |
       cd alphafold3
       echo "Building tag {$TAG}"
-- 
GitLab