File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ build: copyspec
1717push : build
1818 @echo " logging into gcr.io registry with key file"
1919 # TODO hardcoded key file location is a temp workaround
20- gcloud auth activate-service-account --key-file /root/.capv/keyfile.json
21- docker login -u _json_key --password-stdin gcr.io < /root/.capv/keyfile.json
20+ gcloud auth activate-service-account --key-file $( GCR_KEY_FILE )
21+ docker login -u _json_key --password-stdin gcr.io < " $( GCR_KEY_FILE ) "
2222 docker push $(REGISTRY ) :$(VERSION )
2323 @echo docker logout gcr.io
2424 gcloud auth revoke
Original file line number Diff line number Diff line change @@ -182,8 +182,7 @@ export_base64_value "TARGET_VM_PREFIX" "${TARGET_VM_PRE}"
182182go get -u github.com/vmware/govmomi/govc
183183
184184# Push new container images
185- # TODO the `-k` flag here is a workaround until we can set GCR_KEY_FILE properly
186- hack/release.sh -t pr -p -k /root/.capv/keyfile.json
185+ hack/release.sh -t pr -p
187186cd ./scripts/e2e/bootstrap_job && make push && cd .. || exit 1
188187
189188# get bootstrap VM
You can’t perform that action at this time.
0 commit comments