Pull latest ruby docker image when deploying code
This commit is contained in:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user