Add Worker Build Step and Dockerfile for Background Processing
- Introduced a new build step in the Drone CI configuration for the worker service, enabling automated Docker image creation. - Added a Dockerfile for the worker service, defining the build process and dependencies, ensuring a streamlined deployment for background tasks. - Enhanced the overall CI/CD pipeline to support the new worker service, improving the project's build and deployment capabilities.
This commit is contained in:
+12
-1
@@ -42,12 +42,23 @@ steps:
|
||||
repo: artifactory.ravanertebat.ir/tm/scraper
|
||||
registry: artifactory.ravanertebat.ir
|
||||
|
||||
- name: build worker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
build_args:
|
||||
- BUILD_APP=worker
|
||||
username: cicd
|
||||
password:
|
||||
from_secret: REGISTRY_PASSWORD
|
||||
dockerfile: ./cmd/worker/Dockerfile
|
||||
repo: artifactory.ravanertebat.ir/tm/worker
|
||||
registry: artifactory.ravanertebat.ir
|
||||
|
||||
node:
|
||||
tag: aecde-docker-runner
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
- develop
|
||||
- feature/ted
|
||||
event:
|
||||
- custom
|
||||
Reference in New Issue
Block a user