简体   繁体   中英

How to deploy docker image with gitlab CI and portainer

I know Kubernetes has rest API to automate deploy docker image on it. and i know how to use it by Gitlab runner. I wonder if portainer has this feature to call a rest API and deploy my image on it?

What you can do, it add a stack to portainer that gets its docker-compose file from your gitlab git repository. Of course you need to add your gitlab registry as a docker registry to portainer first.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM