Skip to content

Commit

Permalink
Use specific registry
Browse files Browse the repository at this point in the history
  • Loading branch information
applejag committed Apr 8, 2024
1 parent 726d9ea commit 0a3b9a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: CC0-1.0

FROM golang:1.22.2-alpine AS build
FROM docker.io/library/golang:1.22.2-alpine AS build
WORKDIR /jelease
COPY go.mod go.sum ./
RUN go mod download
Expand All @@ -14,7 +14,7 @@ RUN go test -v ./... \
-ldflags "-X github.com/RiskIdent/jelease/cmd.appVersion=$VERSION" \
-o build/jelease main.go

FROM alpine
FROM docker.io/library/alpine
RUN apk add --no-cache ca-certificates patch git git-lfs helm
COPY --from=build /jelease/build/jelease /usr/local/bin/
CMD ["jelease", "serve"]
Expand Down
2 changes: 1 addition & 1 deletion goreleaser.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: CC0-1.0

FROM alpine
FROM docker.io/library/alpine
RUN apk add --no-cache ca-certificates patch git git-lfs helm
COPY jelease /usr/local/bin/
CMD ["jelease", "serve"]
Expand Down

0 comments on commit 0a3b9a0

Please sign in to comment.