From 68ac01cd6dbaaa52c437133ab2755d494e7b99b8 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Wed, 10 Feb 2016 09:41:38 -0500 Subject: [PATCH] Pull latest ruby docker image when deploying code --- playbooks/code-deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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 .