Skip to content

Commit

Permalink
chore: dbg update circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed Dec 11, 2023
1 parent 7db434e commit e9f219c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
- checkout
- setup_remote_docker:
version: 18.06.0-ce
# version: 18.06.0-ce
- run:
name: Build monorepo
shell: /bin/bash
Expand Down
2 changes: 1 addition & 1 deletion services/samplesvc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $(BASE):

.PHONY: custom docker deploy

# The rule that is called by our root Makefile during CI builds.
## The rule that is called by our root Makefile during CI builds.
custom: docker deploy

docker:
Expand Down
1 change: 1 addition & 0 deletions services/samplesvc/dockerfile.samplesvc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ COPY pkg/ /go/src/github.com/flowerinthenight/golang-monorepo/pkg/
COPY vendor/ /go/src/github.com/flowerinthenight/golang-monorepo/vendor/
COPY services/samplesvc/ /go/src/github.com/flowerinthenight/golang-monorepo/services/samplesvc/
WORKDIR /go/src/github.com/flowerinthenight/golang-monorepo/services/samplesvc/
RUN echo "HOME=$HOME"
RUN GO111MODULE=on GOFLAGS=-mod=vendor CGO_ENABLED=0 GOOS=linux go build -v -ldflags "-X github.com/flowerinthenight/golang-monorepo/services/samplesvc/main.version=$version" -a -installsuffix cgo -o samplesvc .

FROM debian:stable-slim
Expand Down

0 comments on commit e9f219c

Please sign in to comment.