Build docker image only on change
This commit is contained in:
parent
65a95c9dd1
commit
ad92d10f12
1 changed files with 3 additions and 2 deletions
|
@ -11,8 +11,9 @@ build:image:
|
|||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
|
||||
- docker build -t registry.gitlab.com/danielsiepmann/neotags .
|
||||
- docker push registry.gitlab.com/danielsiepmann/neotags:latest
|
||||
# only:
|
||||
# - master
|
||||
only:
|
||||
changes:
|
||||
- Dockerfile
|
||||
|
||||
lint:coding-guideline:
|
||||
image: 'registry.gitlab.com/danielsiepmann/neotags:latest'
|
||||
|
|
Loading…
Reference in a new issue