Skip to content
Snippets Groups Projects
Commit 12766487 authored by Dean Lovett's avatar Dean Lovett
Browse files

ci: only build on CI

parent 154da05f
No related branches found
No related tags found
No related merge requests found
......@@ -7,9 +7,7 @@ variables:
stages:
- prebuild
- build
- testing
- release
- deploy
docker_lint:
stage: prebuild
......@@ -26,6 +24,8 @@ build:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN gitlab.nexdev.uk:5555
- docker build -t $IMAGE_NAME:$CI_COMMIT_SHA .
- docker push $IMAGE_NAME:$CI_COMMIT_SHA
only:
- tags
tags:
- nexus_runner
......
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