diff --git a/playbooks/code-deploy.yml b/playbooks/code-deploy.yml index a49f6ff..de5010e 100644 --- a/playbooks/code-deploy.yml +++ b/playbooks/code-deploy.yml @@ -10,6 +10,9 @@ - name: Refresh code command: chdir=/root/wrestlingApp git pull origin master + - name: Pull latest ruby image + command: docker pull ruby:2.3.0 + - name: Create apache docker image command: chdir=/root/wrestlingApp docker build -t wrestlingdev-web -f rails-prod-Dockerfile . @@ -26,6 +29,9 @@ tasks: - name: Refresh code command: chdir=/root/wrestlingApp git pull origin master + + - name: Pull latest ruby image + command: docker pull ruby:2.3.0 - name: Create apache docker image command: chdir=/root/wrestlingApp docker build -t wrestlingdev-worker -f rails-prod-Dockerfile .