include proto files
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 30s

This commit is contained in:
matst80
2024-11-09 01:11:18 +01:00
parent fa708b71dd
commit 0c58b3fdbf
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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