Jenkinsfile (542B)
1 @Library('in0rdr-jenkins-lib@master') _ 2 3 def build() { 4 /* 5 def buildahbud = new BuildahBud(this) 6 def buildahpush = new BuildahPush(this) 7 8 // build with image context and name 9 buildahbud.execute( 10 [uid: 1312, gid: 1312], 11 'docker/docker-jenkins-inbound-agent', 12 'jenkins-inbound-agent', 13 '3327.v868139a_d00e0-v4') 14 buildahpush.execute('jenkins-inbound-agent', '3327.v868139a_d00e0-v4') 15 */ 16 } 17 18 node('podman&&arm64'){ 19 checkout scm 20 gitleaks() 21 build() 22 } 23 24 node('podman&&amd64'){ 25 checkout scm 26 gitleaks() 27 build() 28 }