build: added CI/CD using DroneCI
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: portfolio
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: docker
|
||||||
|
commands:
|
||||||
|
- docker build -t portfolio .
|
||||||
|
- docker push portfolio-image
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: docker
|
||||||
|
commands:
|
||||||
|
- docker run -p 8180:8180 -d portfolio-image
|
||||||
Reference in New Issue
Block a user