Skip to content

Commit

Permalink
Merge pull request #6 from m-mizutani/upgrade-go-image
Browse files Browse the repository at this point in the history
Upgrade go image
  • Loading branch information
m-mizutani authored Jul 21, 2023
2 parents 5b9a47e + 292ba00 commit 53b5583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.18 AS build-go
FROM golang:1.20 AS build-go
COPY . /src
WORKDIR /src
RUN go build -o ghnotify .
RUN CGO_ENABLED=0 go build -o ghnotify .

FROM gcr.io/distroless/base
COPY --from=build-go /src/ghnotify /ghnotify
Expand Down

0 comments on commit 53b5583

Please sign in to comment.