File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 3333 if [ "$IMAGE_TAG_OPERATOR" = "master" ]; then
3434 export IMAGE_TAG_OPERATOR="1.0"
3535 fi
36- docker login -u $REPO_USERNAME -p $REPO_PASSWORD
3736 - script :
3837 name : Install pre-reqs
3938 code : |
@@ -46,6 +45,13 @@ build:
4645 dockerfile : Dockerfile
4746 image-name : $REPO_REPOSITORY:$IMAGE_TAG_OPERATOR
4847 no-cache : true
48+ registry-auth-config : |
49+ {
50+ " https://index.docker.io/v1/ " : {
51+ " username " : " $REPO_USERNAME" ,
52+ " password " : " $REPO_PASSWORD"
53+ }
54+ }
4955 # push the image to Docker using the GIT branch as the tag
5056 # this image needs to be available to the integration-test pipeline for testing
5157 - internal/docker-push :
5460 repository : $REPO_REPOSITORY
5561 registry : $REPO_REGISTRY
5662 tag : $IMAGE_TAG_OPERATOR
57- working-dir : " /operator"
58- cmd : " operator.sh"
59- env : " PATH=$PATH:/operator"
6063
6164# This pipeline runs the integration tests against a k8s cluster on OCI.
6265command-timeout : 60
You can’t perform that action at this time.
0 commit comments