Skip to content

Commit b924794

Browse files
author
Jan Abel
committed
add registry & repo vars to etl
1 parent c8c2399 commit b924794

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jenkins/etl.Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pipeline {
1010
}
1111
environment {
1212
CUR_PROJ = 'rss-data' // github repo name
13+
REGISTRY = "ghcr.io/pandora-isomemo"
1314
CUR_PKG_FOLDER = '.' // defaults to root
1415
TMP_SUFFIX = """${sh(returnStdout: true, script: 'echo `cat /dev/urandom | tr -dc \'a-z\' | fold -w 6 | head -n 1`')}"""
1516
CREDENTIALS = credentials('rss-data-renviron')
@@ -19,8 +20,9 @@ pipeline {
1920
steps {
2021
sh '''
2122
docker run --rm --network host \
23+
--name $CUR_PROJ-ETL-$TMP_SUFFIX
2224
--env-file $CREDENTIALS \
23-
$CUR_PROJ-ETL-$TMP_SUFFIX
25+
$REGISTRY/$CUR_PROJ
2426
'''
2527
}
2628
post {

0 commit comments

Comments
 (0)