Skip to content

Commit

Permalink
adjusted family name
Browse files Browse the repository at this point in the history
  • Loading branch information
Voronenko committed May 27, 2019
1 parent 07e3d43 commit 3795892
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
variables:
GL_URL: github.com/rb3ckers
GO_PROJECT_NAMESPACE: trafficmirror
IMAGE_FAMILY: voronenko/trafficmirror
IMAGE_FAMILY: stackstate/trafficmirror
CI_REGISTRY: docker.io

.prep_go: &prep_go
before_script:
# - export GL_URL=$(echo ${CI_PROJECT_URL:-https://github.com/rb3ckers/trafficmirror} | awk -F/ '{print $3}')
- echo export GO_PROJECT_PATH="$GOPATH/src/$GL_URL/$GO_PROJECT_NAMESPACE"
- export GO_PROJECT_PATH="$GOPATH/src/$GL_URL/$GO_PROJECT_NAMESPACE"
- rm -rf $GOPATH/src/$GL_URL
Expand All @@ -18,7 +17,6 @@ variables:
stages:
- build
- docker_build
# - taglatest

go_build:
<<: *prep_go
Expand All @@ -43,8 +41,7 @@ docker_build:
services:
- docker:dind
script:
# - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
- docker build -t $IMAGE_FAMILY:${CI_COMMIT_TAG:-dirty} .
- echo docker push $IMAGE_FAMILY:${CI_COMMIT_TAG:-dirty}
- docker push $IMAGE_FAMILY:${CI_COMMIT_TAG:-dirty}
- docker push $IMAGE_FAMILY:${CI_COMMIT_TAG:-dirty}

0 comments on commit 3795892

Please sign in to comment.