Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FoodInformatics
msx-tool
Commits
58c6fe01
Commit
58c6fe01
authored
Mar 03, 2021
by
Jim Hoekstra
👋🏻
Browse files
added gitlab CI config file
parent
73a108de
Pipeline
#18931
passed with stage
in 11 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
58c6fe01
image
:
docker:latest
variables
:
DOCKER_TLS_CERTDIR
:
"
/certs"
BRANCH_IMAGE
:
$CI_REGISTRY/foodinformatics/msx-tool:$CI_COMMIT_REF_NAME
services
:
-
docker:dind
stages
:
-
build
build
:
stage
:
build
script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker build -t $BRANCH_IMAGE .
-
docker push $BRANCH_IMAGE
Write
Preview
Supports
Markdown
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