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
histhub
dodis
Commits
730fb401
Commit
730fb401
authored
Jan 25, 2019
by
Tobinsk
Browse files
Delete .gitlab-ci.yml
parent
b170bf6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
deleted
100644 → 0
View file @
b170bf6e
services
:
-
docker:dind
variables
:
IMAGE_TAG
:
$CI_REGISTRY/$CI_IMAGE:$CI_COMMIT_REF_NAME
LATEST_TAG
:
$CI_REGISTRY/$CI_IMAGE:latest
cache
:
paths
:
-
node_modules/
build
:
only
:
-
master
image
:
docker:latest
services
:
-
docker:dind
stage
:
build
script
:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
-
docker build -t $IMAGE_TAG .
-
docker tag $IMAGE_TAG $LATEST_TAG
-
docker push $IMAGE_TAG
-
docker push $LATEST_TAG
test
:
stage
:
test
only
:
-
sowhereinthefuture
image
:
$LATEST_TAG
before_script
:
-
export NODE_ENV=dev && npm install
script
:
-
npm run test
\ No newline at end of file
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