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 33
33
if [ "$IMAGE_TAG_OPERATOR" = "master" ]; then
34
34
export IMAGE_TAG_OPERATOR="1.0"
35
35
fi
36
- docker login -u $REPO_USERNAME -p $REPO_PASSWORD
37
36
- script :
38
37
name : Install pre-reqs
39
38
code : |
@@ -46,6 +45,13 @@ build:
46
45
dockerfile : Dockerfile
47
46
image-name : $REPO_REPOSITORY:$IMAGE_TAG_OPERATOR
48
47
no-cache : true
48
+ registry-auth-config : |
49
+ {
50
+ " https://index.docker.io/v1/ " : {
51
+ " username " : " $REPO_USERNAME" ,
52
+ " password " : " $REPO_PASSWORD"
53
+ }
54
+ }
49
55
# push the image to Docker using the GIT branch as the tag
50
56
# this image needs to be available to the integration-test pipeline for testing
51
57
- internal/docker-push :
54
60
repository : $REPO_REPOSITORY
55
61
registry : $REPO_REGISTRY
56
62
tag : $IMAGE_TAG_OPERATOR
57
- working-dir : " /operator"
58
- cmd : " operator.sh"
59
- env : " PATH=$PATH:/operator"
60
63
61
64
# This pipeline runs the integration tests against a k8s cluster on OCI.
62
65
command-timeout : 60
You can’t perform that action at this time.
0 commit comments