We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8c2399 commit b924794Copy full SHA for b924794
jenkins/etl.Jenkinsfile
@@ -10,6 +10,7 @@ pipeline {
10
}
11
environment {
12
CUR_PROJ = 'rss-data' // github repo name
13
+ REGISTRY = "ghcr.io/pandora-isomemo"
14
CUR_PKG_FOLDER = '.' // defaults to root
15
TMP_SUFFIX = """${sh(returnStdout: true, script: 'echo `cat /dev/urandom | tr -dc \'a-z\' | fold -w 6 | head -n 1`')}"""
16
CREDENTIALS = credentials('rss-data-renviron')
@@ -19,8 +20,9 @@ pipeline {
19
20
steps {
21
sh '''
22
docker run --rm --network host \
23
+ --name $CUR_PROJ-ETL-$TMP_SUFFIX
24
--env-file $CREDENTIALS \
- $CUR_PROJ-ETL-$TMP_SUFFIX
25
+ $REGISTRY/$CUR_PROJ
26
'''
27
28
post {
0 commit comments