Makefile & Dockerfile: update docker mirror & file name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tom Neuber 2024-01-25 13:10:01 +01:00
parent 005ac9c60c
commit 192d54465f
Signed by: tom
GPG key ID: F17EFE4272D89FF6
2 changed files with 4 additions and 4 deletions

View file

@ -20,6 +20,6 @@ FROM alpine
WORKDIR /app
# Copy built binary from build image
COPY --from=build /workspace/country_geo_locations /app
COPY --from=build /workspace/country-geo-locations /app
ENTRYPOINT ["/app/country_geo_locations"]
ENTRYPOINT ["/app/country-geo-locations"]

View file

@ -2,10 +2,10 @@
.PHONY: build
build:
CGO_ENABLED=0 go build \
-o country_geo_locations \
-o country-geo-locations \
main.go
# Build project docker container
.PHONY: build/docker
build/docker:
docker build -t registry.neuber.io/country-geo-locations .
docker build -t git.ar21.de/yolokube/country-geo-locations .