Pull latest ruby docker image when deploying code
This commit is contained in:
@@ -10,6 +10,9 @@
|
|||||||
- name: Refresh code
|
- name: Refresh code
|
||||||
command: chdir=/root/wrestlingApp git pull origin master
|
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
|
- name: Create apache docker image
|
||||||
command: chdir=/root/wrestlingApp docker build -t wrestlingdev-web -f rails-prod-Dockerfile .
|
command: chdir=/root/wrestlingApp docker build -t wrestlingdev-web -f rails-prod-Dockerfile .
|
||||||
|
|
||||||
@@ -26,6 +29,9 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Refresh code
|
- name: Refresh code
|
||||||
command: chdir=/root/wrestlingApp git pull origin master
|
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
|
- name: Create apache docker image
|
||||||
command: chdir=/root/wrestlingApp docker build -t wrestlingdev-worker -f rails-prod-Dockerfile .
|
command: chdir=/root/wrestlingApp docker build -t wrestlingdev-worker -f rails-prod-Dockerfile .
|
||||||
|
|||||||
Reference in New Issue
Block a user