我需要将一个Node.js docker镜像从dockerhub部署到Elastic Beanstalk。我正在构建镜像,然后将其推送到hub.docker.com,现在我想使用bitbucket-pipeline将镜像从hub.docker.com部署到AWS Elastic Beanstalk。管道并不是构建映像并将其推送到hub.docker.com,我现在希望使用管道部署映像。
发布于 2020-01-29 07:42:21
只需使用以下代码作为bitbucket-pipeline.yml的第一行:
image: node # or whatever is the image name you built on docker hub
在脚本部分中,您需要运行docker-compose命令来构建和推送映像。
https://stackoverflow.com/questions/59569158
复制相似问题