Skip to content

Commit 460937d

Browse files
committed
app: build and publish backend 4
Signed-off-by: Benedikt Bongartz <[email protected]>
1 parent 93f7d11 commit 460937d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/build_and_push_images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- frontend
1919
- backend1
2020
- backend2
21+
- backend4
2122
- loadgen
2223

2324
steps:

app/backend4/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM golang:1.22 as builder
2+
3+
WORKDIR /src
4+
5+
COPY . /src
6+
7+
RUN CGO_ENABLED=0 go build -v -o /app
8+
9+
FROM scratch
10+
11+
COPY --from=0 /app /app
12+
13+
EXPOSE 8080
14+
15+
CMD ["/app"]

0 commit comments

Comments
 (0)