Skip to content

Commit c961f96

Browse files
authored
[RAPTOR-14581] cleanup personal credentials from harness pipelines (#1651)
1 parent feccb8e commit c961f96

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.harness/build_env_base_docker_images.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pipeline:
4141
docker buildx ls
4242
4343
echo "Logging into dockerhub"
44-
docker login -u yakovg -p <+secrets.getValue("dockerhub-token-yakov-goldberg")>
44+
docker login -u <+secrets.getValue("org.genai-systems-dockerhub-login")> -p <+secrets.getValue("org.genai-systems-dockerhub-token")>
4545
4646
pwd
4747
cd <+pipeline.variables.path_to_docker_context>
@@ -132,7 +132,7 @@ pipeline:
132132
docker buildx create --name mybuilder --bootstrap --use
133133
docker buildx ls
134134
135-
docker login -u yakovg -p <+secrets.getValue("dockerhub-token-yakov-goldberg")>
135+
docker login -u <+secrets.getValue("org.genai-systems-dockerhub-login")> -p <+secrets.getValue("org.genai-systems-dockerhub-token")>
136136
137137
pwd
138138
cd <+pipeline.variables.path_to_docker_context>

.harness/publish_to_docker.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ pipeline:
154154
notation sign $TARGET_IMAGE_FULLNAME --username $DOCKER_USERNAME --password $DOCKER_PASSWORD --plugin "com.amazonaws.signer.notation.plugin" --id "arn:aws:signer:us-east-1:883986434461:/signing-profiles/dr_artifacts_20241231162516984400000001"
155155
envVariables:
156156
TARGET_IMAGE_FULLNAME: docker.io/datarobotdev/env-<+pipeline.variables.repo_name>:<+pipeline.stages.build_and_publish.spec.execution.steps.Compute_Tags.output.outputVariables.TAG_TO_SIGN>
157-
DOCKER_USERNAME: yakovg
158-
DOCKER_PASSWORD: <+secrets.getValue("dockerhub-token-yakov-goldberg")>
157+
DOCKER_USERNAME: <+secrets.getValue("org.genai-systems-dockerhub-login")>
158+
DOCKER_PASSWORD: <+secrets.getValue("org.genai-systems-dockerhub-token")>
159159
description: Sign image using AWS Signer and Notation
160160
variables:
161161
- name: env_folder

.harness/trivy_scan.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ pipeline:
3333
- reports/**.xml
3434
settings:
3535
image: datarobotdev/<+pipeline.variables.imageName>
36-
username: yakovg
37-
password: <+secrets.getValue("dockerhub-token-yakov-goldberg")>
36+
username: <+secrets.getValue("org.genai-systems-dockerhub-login")>
37+
password: <+secrets.getValue("org.genai-systems-dockerhub-token")>
3838
ignore_policy: /dev/zero
3939
description: Drone Trivy Scan
4040
platform:

0 commit comments

Comments
 (0)