Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6341072b0b
|
||
|
|
1dbd813bef
|
||
|
|
14d83d24b4
|
||
|
|
ba02b6d8cb
|
||
|
|
9b8fcaad9a
|
||
|
|
6bd6ede442
|
No files matched your search
Vendored
+11
@@ -98,6 +98,17 @@ pipeline {
|
|||||||
--push \
|
--push \
|
||||||
.""",
|
.""",
|
||||||
label: 'Build Docker image'
|
label: 'Build Docker image'
|
||||||
|
|
||||||
|
if (env.BRANCH_NAME == 'master') {
|
||||||
|
if (env.VERSION ==~ '.*-\\d+-g[a-f0-9]{7}') {
|
||||||
|
env.FIXED_VERSION = 'dev'
|
||||||
|
} else {
|
||||||
|
env.FIXED_VERSION = 'stable'
|
||||||
|
}
|
||||||
|
sh script: """docker buildx imagetools create \
|
||||||
|
-t git.esoko.eu/esoko/rvr:${env.FIXED_VERSION} \
|
||||||
|
git.esoko.eu/esoko/rvr:${env.VERSION}"""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,9 +19,8 @@ use RVR\Repository\UserRepository;
|
|||||||
|
|
||||||
require 'app.php';
|
require 'app.php';
|
||||||
|
|
||||||
if (!empty($_ENV['DEV'])) {
|
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
|
if (!empty($_ENV['DEV'])) {
|
||||||
ini_set('display_errors', '1');
|
ini_set('display_errors', '1');
|
||||||
} else {
|
} else {
|
||||||
ini_set('display_errors', '0');
|
ini_set('display_errors', '0');
|
||||||
|
|||||||
Reference in new issue
Block a user