Skip to content

Commit e86b7a7

Browse files
Merge pull request #41 from draios/DEVX-000-remove-artifactory-push
DEVX-000 Update Jenkinsfile
2 parents deae50a + dd75e68 commit e86b7a7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Jenkinsfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ pipeline {
88
steps {
99
script {
1010
withCredentials([
11-
usernamePassword(credentialsId: 'jenkins-artifactory', usernameVariable: 'ARTIFACTORY_USER', passwordVariable: 'ARTIFACTORY_PASS'),
1211
file(credentialsId: 'google-artifactory-dev-write', variable: 'GAR_WR_SECRET')
1312
]) {
1413
sh '''#!/bin/bash
1514
set -euo pipefail
1615
17-
echo "Logging into Artifactory"
18-
docker login docker.internal.sysdig.com -u="$ARTIFACTORY_USER" -p="$ARTIFACTORY_PASS"
19-
2016
echo "Logging into GAR dev"
2117
cat $GAR_WR_SECRET | docker login --username _json_key --password-stdin us-docker.pkg.dev/sysdig-artifact-registry-dev/gar-docker
2218
'''
@@ -34,7 +30,6 @@ pipeline {
3430
userRemoteConfigs: [[credentialsId: 'github-jenkins-user-token', url: 'https://github.com/draios/kube-bench.git']]
3531
])
3632
script {
37-
sh "IMAGE_TAG=${params.TAG} PUSH=yes make -f makefile-sysdig build-dependency-image"
3833
sh "IMAGE_TAG=${params.TAG} PUSH=yes make -f makefile-sysdig build-dependency-image-gar"
3934
}
4035
}

0 commit comments

Comments
 (0)