include proto files
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 30s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 30s
This commit is contained in:
@@ -8,7 +8,7 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Run a script
|
||||
- name: Build docker image
|
||||
run: docker build -t registry.knatofs.se/go-cart-actor .
|
||||
- name: Push to registry
|
||||
run: docker push registry.knatofs.se/go-cart-actor
|
||||
|
||||
@@ -6,6 +6,7 @@ COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY *.go ./
|
||||
COPY proto ./proto
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /go-cart-actor
|
||||
|
||||
FROM gcr.io/distroless/base-debian11
|
||||
|
||||
Reference in New Issue
Block a user