Skip to content

Commit

Permalink
cd
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMaster482 committed Dec 12, 2023
1 parent 79f4d78 commit b96e099
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ env:
IMAGE_NAME: "hammywallet"
CONTAINER_NAME: "hammywallet-api"
FOLDER_COMPOSE: "production"

GITHUB_SHA_SHORT:

AUTH_CONTAINER: "hammywallet-auth"
ACCOUNT_CONTAINER: "hammywallet-account"
CATEGORY_CONTAINER: "hammywallet-category"

AUTH_ADDR: auth:8010
ACCOUNT_ADDR: account:8020
CATEGORY_ADDR: category:8030
Expand Down
2 changes: 0 additions & 2 deletions build/auth.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ FROM golang:1.21.0-alpine AS builder
COPY . /github.com/go-park-mail-ru/2023_2_Hamster/
WORKDIR /github.com/go-park-mail-ru/2023_2_Hamster/

RUN ls -la

RUN go mod download && go mod tidy
RUN go clean --modcache
RUN CGO_ENABLED=0 GOOS=linux go build -mod=readonly -o auth ./cmd/auth/main.go
Expand Down

0 comments on commit b96e099

Please sign in to comment.