Skip to content
Snippets Groups Projects
Commit 003f5dcc authored by jurgenhaas's avatar jurgenhaas
Browse files

Use CI_COMMIT_REF_SLUG instead of CI_COMMIT_REF_NAME for composer project name

parent 153afbaf
No related branches found
No related tags found
No related merge requests found
version: '3.3'
name: datacore_${CI_PROJECT_ID}_${CI_COMMIT_REF_NAME}
name: datacore_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}
services:
app:
......
......@@ -3,5 +3,5 @@ no-overlap = true
tty = true
user = mysql
schedule = 0 30 0 * * *
container = datacore_${CI_PROJECT_ID}_${CI_COMMIT_REF_NAME}-db-1
container = datacore_${CI_PROJECT_ID}_${CI_COMMIT_REF_SLUG}-db-1
command = sh -c \"mysqldump -u root --password=datacore datacore >/var/backups/mysql/datacore.sql && ${HEALTHCHECK}\"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment