Skip to content

Commit

Permalink
ci improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickHuetter committed Dec 6, 2017
1 parent c0cdcf9 commit 0a36666
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ docker-build:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE

docker-build-staging:
docker-build-dev:
stage: package
only:
- dev
script:
- docker build -t $CI_REGISTRY_IMAGE:staging .
- docker build -t $CI_REGISTRY_IMAGE:dev .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE:staging
- docker push $CI_REGISTRY_IMAGE:dev

0 comments on commit 0a36666

Please sign in to comment.