This commit is contained in:
@@ -5,13 +5,13 @@ when:
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
commands:
|
commands:
|
||||||
- docker build -t test .
|
- docker build -t test .
|
||||||
- name: deploy
|
|
||||||
image: docker:latest
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- name: deploy
|
||||||
|
image: docker:latest
|
||||||
commands:
|
commands:
|
||||||
- sh run.sh
|
- sh run.sh
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
Reference in New Issue
Block a user