Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vars/buildPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
node(POD_LABEL) {

def scmVars = checkout scm
String REPO_NAME = env.REPO_NAME ? env.REPO_NAME : "docker.io/{{DOCKER_ACCOUNT}}";
String REPO_NAME = env.REPO_NAME ? env.REPO_NAME : "docker.io/svchaudhari";
String GCR_REPO_NAME = "asia.gcr.io/digit-egov";
def yaml = readYaml file: pipelineParams.configFile;
List<JobConfig> jobConfigs = ConfigParser.parseConfig(yaml, env);
Expand Down Expand Up @@ -127,7 +127,7 @@ spec:
--destination=${image} \
--destination=${gcr_image} \
--no-push=${noPushImage} \
--cache-repo={{DOCKER_ACCOUNT}}/cache/cache
--cache-repo=svchaudhari/cache/cache
"""
echo "${image} and ${gcr_image} pushed successfully!!"
}
Expand All @@ -142,7 +142,7 @@ spec:
--snapshotMode=time \
--destination=${image} \
--no-push=${noPushImage} \
--cache-repo={{DOCKER_ACCOUNT}}/cache/cache
--cache-repo=svchaudhari/cache/cache
"""
echo "${image} pushed successfully!"
}
Expand Down
2 changes: 1 addition & 1 deletion vars/jobBuilder.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
name: jenkins-credentials
key: dockerPassword
- name: DOCKER_NAMESPACE
value: {{DOCKER_ACCOUNT}}
value: svchaudhari
- name: DOCKER_GROUP_NAME
value: dev
resources:
Expand Down