--
All checks were successful
Deploy / CreateImage (push) Successful in 2m12s
Deploy / DeployService (push) Successful in 1m12s

This commit is contained in:
skeris 2024-12-02 01:10:20 +03:00
parent 76b0ddb1e1
commit 62b3f57408
3 changed files with 4 additions and 6 deletions

@ -10,7 +10,7 @@ on:
jobs: jobs:
CreateImage: CreateImage:
runs-on: [hubstaging] runs-on: [hubstaging]
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.4 uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.4-p7
with: with:
runner: hubstaging runner: hubstaging
secrets: secrets:

@ -1,12 +1,10 @@
FROM gitea.pena/penadevops/container-images/golang:main as builder FROM gitea.pena/penadevops/container-images/golang:main as builder
WORKDIR /app WORKDIR /app
RUN apk add git
COPY . . COPY . .
ENV GOPRIVATE=gitea.pena/PenaSide/linters-golang ENV GOPRIVATE=gitea.pena/PenaSide/linters-golang
ENV GOINSECURE=gitea.pena/PenaSide/linters-golang ENV GOINSECURE=gitea.pena/PenaSide/linters-golang
RUN go env RUN go mod download
RUN go mod download -x RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o heruvym cmd/main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o heruvym
FROM gitea.pena/penadevops/container-images/alpine:main FROM gitea.pena/penadevops/container-images/alpine:main
COPY --from=builder /app/heruvym . COPY --from=builder /app/heruvym .

@ -14,7 +14,7 @@ services:
- BB_MINIO_AK=5CV77KVDUU9H0II9R24M - BB_MINIO_AK=5CV77KVDUU9H0II9R24M
- BB_MINIO_EP=s3.timeweb.cloud - BB_MINIO_EP=s3.timeweb.cloud
- BB_MINIO_SK=0W0m8DyvdAKRJnsAy6mB5zndQ7RouJBLhqhtThcu - BB_MINIO_SK=0W0m8DyvdAKRJnsAy6mB5zndQ7RouJBLhqhtThcu
- BB_MONGO_URI=$BB_MONGO_URI - BB_MONGO_URI=mongodb://support:54143ffdd9304865586e5cf2@mongodb.pena/?authSource=support
- S3_REGION=ru-1 - S3_REGION=ru-1
- JWT_SECRET=$JWT_SECRET - JWT_SECRET=$JWT_SECRET
- TELEGRAM_TOKEN=6414077478:AAFk03HezovLT2kO_i9OYswH8Weirsgp9GU - TELEGRAM_TOKEN=6414077478:AAFk03HezovLT2kO_i9OYswH8Weirsgp9GU