Update .drone.yml
This commit is contained in:
+15
-1
@@ -19,9 +19,11 @@ steps:
|
|||||||
- echo "APP Version tags $APP_VERSION"
|
- echo "APP Version tags $APP_VERSION"
|
||||||
- echo -n "$APP_VERSION" >> .tags
|
- echo -n "$APP_VERSION" >> .tags
|
||||||
|
|
||||||
- name: push to artifactory
|
- name: buid web
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
build_args:
|
||||||
|
- BUILD_APP=web
|
||||||
username: cicd
|
username: cicd
|
||||||
password:
|
password:
|
||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: REGISTRY_PASSWORD
|
||||||
@@ -29,6 +31,18 @@ steps:
|
|||||||
repo: artifactory.ravanertebat.ir/tm/web
|
repo: artifactory.ravanertebat.ir/tm/web
|
||||||
registry: artifactory.ravanertebat.ir
|
registry: artifactory.ravanertebat.ir
|
||||||
|
|
||||||
|
- name: buid scraper
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
build_args:
|
||||||
|
- BUILD_APP=scraper
|
||||||
|
username: cicd
|
||||||
|
password:
|
||||||
|
from_secret: REGISTRY_PASSWORD
|
||||||
|
dockerfile: Dockerfile-drone
|
||||||
|
repo: artifactory.ravanertebat.ir/tm/scraper
|
||||||
|
registry: artifactory.ravanertebat.ir
|
||||||
|
|
||||||
node:
|
node:
|
||||||
tag: aecde-docker-runner
|
tag: aecde-docker-runner
|
||||||
trigger:
|
trigger:
|
||||||
|
|||||||
Reference in New Issue
Block a user