Skip to content

Commit

Permalink
Fix docker version and name of artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed Apr 9, 2024
1 parent b19faf8 commit 2ed9ace
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,8 +1,8 @@
FROM golang:1.22.1-alpine3.19 as build
FROM golang:1.22.2-alpine3.19 as build

WORKDIR /app
COPY . /app
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build --ldflags '-extldflags=-static' -o github-users main.go
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build --ldflags '-extldflags=-static' -o changelog-json main.go

FROM alpine:3.19.1
COPY --from=build /app/changelog-json /app/
Expand Down

0 comments on commit 2ed9ace

Please sign in to comment.