Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,688
Issues
1,688
List
Boards
Labels
Service Desk
Milestones
Merge Requests
84
Merge Requests
84
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
a7b55e16
Commit
a7b55e16
authored
Oct 17, 2018
by
Ryan Herbert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.gitlab-ci.yml deploy docker fix syntax
parent
cd9fb014
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.gitlab-ci.yml
View file @
a7b55e16
...
...
@@ -341,7 +341,7 @@ deploy_review:
deploy_docker
:
stage
:
deploy_prod
script
:
-
export CUR_DATE=
date +%Y-%m-%d
-
export CUR_DATE=
`date +%Y-%m-%d`
-
export TYPE=$CI_COMMIT_REF_NAME | awk '{ gsub(/prod-/, "") }{ print $1 }'
-
export TAG="vidjil/$TYPE:$CUR_DATE-$CI_COMMIT_SHA"
-
docker build --no-cache --build-arg git_branch=$CI_COMMIT_REF_NAME --build-arg build_env=PRODUCTION -t $TAG docker/vidjil-$TYPE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment