Skip to content

Commit

Permalink
Working code: update Makefile for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
rajesh committed Nov 27, 2024
1 parent 4a427c1 commit 5ee8b5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ endif
# Variables
DOCKER_USER = rajeshecb70
DOCKER_IMAGE = goproject
TAG = 1.1.2
TAG = 1.1.3

print_version:
@echo $(TAG)
Expand Down Expand Up @@ -42,10 +42,8 @@ build:

# Build and tag the Docker image
docker-build:
@echo "Building Docker image..."
docker build -t $(DOCKER_IMAGE):$(TAG) .
@echo "Tagging Docker image..."
docker tag $(DOCKER_IMAGE):$(TAG) $(DOCKER_USER)/$(DOCKER_IMAGE):$(TAG)
@echo "Building and tagging Docker image..."
docker build -t $(DOCKER_USER)/$(DOCKER_IMAGE):$(TAG) .


# Login to Docker Hub (Docker login detail mention in your .env file)
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/golangci/golangci-lint v1.62.2/go.mod h1:ILWWyeFUrctpHVGMa1dg2xZPKoMUTc5OIMgW7HZr34g=
github.com/shirou/gopsutil v3.21.11+incompatible h1:+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI=
github.com/shirou/gopsutil v3.21.11+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
github.com/tklauser/go-sysconf v0.3.14 h1:g5vzr9iPFFz24v2KZXs/pvpvh8/V9Fw6vQK5ZZb78yU=
Expand Down

0 comments on commit 5ee8b5a

Please sign in to comment.