docker - Deploy to IBM Containers without cf/ice CLI -


i have workflow goes this: bitbucket -> wercker.

wercker correctly builds app, when comes deploying lost. attempting deploy ibm containers registry on bluemix (recently out of beta). running docker login registry.ng.bluemix.net ibm account credentials returns 401: bad credentials on local machine (boot2docker on osx). same on wercker in deploy step. here deploy step:

deploy:   box:     id: node     tag: 0.12.6-slim   steps:     - internal/docker-push:             username: $username             password: $password             tag: main             entrypoint: node bundle/main.js             repository: <my namespace/<my container name> (removed post)             registry: registry.ng.bluemix.net 

as can see: have username , password passed in environment variables per wercker docs (and have tested passed in correctly).

basically: how push containers ibm registry without using ice/cf cli? have feeling i'm missing obvious. can't find it.

you need use either containers plugin cf or ice tool login.

documentation

cloud foundry plug-in: cf ic login ice: ice login

can create custom script can log in first? if environment has cf containers extension:

- script:     name: custom login bluemix containers     code: cf login -u <username> -p <password> -o <org> -s <space> 

excuse wercker newb.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -