v.0.0.1 Создан сервис клипов
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
admin 2025-09-02 12:11:21 +03:00
parent 0e97e0c1bb
commit 210b39ba0d
2 changed files with 1 additions and 8 deletions

View File

@ -13,7 +13,7 @@ steps:
- rm -fr /home/tailly_clips
- mkdir /home/tailly_clips
- cd /home/tailly_clips
- git clone https://admin:Xdv3ScZa0dPP0E9OgcJF@git.altomta.ru/admin/tailly_clips . || true
- git clone https://admin:2bfa8b81e8787c9c0bb89e1a7bbd929b2d63aaf2@git.altomta.ru/admin/tailly_clips . || true
- git pull
- docker stop tailly_clips || true
- docker rm tailly_clips || true

View File

@ -15,13 +15,6 @@ RUN go mod download
# Копируем исходный код
COPY . .
# Генерируем gRPC код
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
RUN protoc --go_out=./gen --go_opt=paths=source_relative \
--go-grpc_out=./gen --go-grpc_opt=paths=source_relative \
proto/clip.proto
# Собираем приложение
RUN go build -o clip-service ./cmd/server