Update .drone.yml

This commit is contained in:
k.pirzargar
2026-04-19 10:59:31 +03:30
parent 54606f8c1d
commit d4cf1d5e14
+3 -1
View File
@@ -38,6 +38,8 @@ steps:
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o ./artifacts/go/bin/web ./cmd/web/main.go
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o ./artifacts/go/bin/scraper ./cmd/scraper/main.go
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o ./artifacts/go/bin/worker ./cmd/worker/main.go
- cp -r ./cmd/web/docs ./artifacts/go/bin/docs
- cp -r ./cmd/web/assets ./artifacts/go/bin/assets
- ls -ltrh ./artifacts/go/bin/
- name: push scraper
@@ -61,7 +63,7 @@ steps:
repo: artifactory.ravanertebat.ir/tm/web
registry: artifactory.ravanertebat.ir
dockerfile: ./cmd/web/Dockerfile
context: ./cmd/web
# context: ./cmd/web
- name: push worker
image: plugins/docker