72
All checks were successful
Go Linter / Tag Commit (push) Successful in 14s
Deploy Production / Deploy to Staging (push) Has been skipped
Go Linter / Run golangci-lint (api_gateway) (push) Successful in 3m47s
Go Linter / Build golang services (api_gateway) (push) Successful in 4m15s
Go Linter / Push Docker Images (api_gateway) (push) Successful in 5m4s

This commit is contained in:
Alex Shevchuk
2025-09-17 15:24:08 +03:00
parent 33229f1eb7
commit e3262d588c
2 changed files with 3 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ RUN go mod download -x
COPY . .
RUN go mod tidy && go mod download -x
RUN SWAGGER_HOST=${SWAGGER_HOST} make docs
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="${BUILD_LDFLAGS}" -trimpath -o main ./cmd/main.go

View File

@@ -70,7 +70,7 @@ docs: $(BIN_DIR)/swag
$(BIN_DIR)/swag init -g $$TEMP_MAIN -o $(SWAGGER_DOCS_PATH) --parseDependency --parseInternal && \
rm -f $$TEMP_MAIN && \
echo "Swagger документация успешно сгенерирована с host: $(HOST)" && \
echo "Документация доступна по адресу: http://$(HOST)/swagger/index.html"
echo "Документация доступна по адресу: $(HOST)/swagger/index.html"
## -- Run --
## To change env use: make run CONFIG_PATH={config file dir path} ENV={env}