Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
Moving registry from portshift to eti
Browse files Browse the repository at this point in the history
moving building image to internal eti
moving storing registry to eti
  • Loading branch information
Portshift-Admin authored Apr 12, 2021
1 parent 2f19ab8 commit 885992f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ jobs:

build_and_push:
docker:
- image: gcr.io/development-infra-208909/docker-18-git-go-1.13.5-builder
working_directory: /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
- image: gcr.io/gcp-etigcp-nprd-12855/pipelines/docker-18-git-go-1.14.10-builder:v12
auth:
username: _json_key
password: $GCR_K8SEC_DEV_REGISTRY_SERVICE_ACCOUNT
working_directory: /home/ubuntu/go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}
steps:
- checkout
- setup_remote_docker
- run: docker login -u _json_key -p "${GCR_REGISTRY_SERVICE_ACCOUNT}" http://gcr.io
- run: docker login -u _json_key -p "${GCR_ETI_CLOUD_REGISTRY_SERVICE_ACCOUNT}" http://gcr.io
- run: echo ${CIRCLE_TAG}
- run: >
if [ "${CIRCLE_TAG}" != "" ];
Expand All @@ -38,7 +41,7 @@ workflows:
- build_and_push:
requires:
- test
context: REG_CREDS
context: CISCO_REG_CREDS
filters:
tags:
only: /^[0-9]+(\.[0-9]+)*$/
only: /^[0-9]+(\.[0-9]+)*$/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SOURCE := ./cmd/kubei/
BINARY := kubei
DOCKER_REGISTRY ?= gcr.io/development-infra-208909
DOCKER_REGISTRY ?= gcr.io/eticloud/k8sec
VERSION ?= $(shell git rev-parse HEAD)
IMAGE_NAME ?= $(DOCKER_REGISTRY)/$(BINARY):$(VERSION)
TARGET_OS ?= linux
Expand Down

0 comments on commit 885992f

Please sign in to comment.