From cfbad73d1ea0732ffae710491c17e53ccb96a68d Mon Sep 17 00:00:00 2001 From: Tom Neuber Date: Thu, 25 Jan 2024 13:10:01 +0100 Subject: [PATCH] Makefile & Dockerfile: update docker mirror & file name --- .gitignore | 2 +- Dockerfile | 4 ++-- Makefile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ac671d4..ec5be24 100644 --- a/.gitignore +++ b/.gitignore @@ -22,4 +22,4 @@ go.work data.csv -country_geo_locations +country-geo-locations diff --git a/Dockerfile b/Dockerfile index 120857f..80b70f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/Makefile b/Makefile index 8cb06ab..ce4b17e 100644 --- a/Makefile +++ b/Makefile @@ -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 .