stuzer05 dc4f99e922
Some checks failed
build docker image / docker-build (push) Failing after 18s
Commit
2025-01-12 15:20:54 +02:00

24 lines
437 B
Makefile

REPO=npenkov/docker-ldap-passwd-webui
VER=1.2
.PHONY: all build push
all: init build docker push clean
init:
dep ensure
build:
GOOS=linux go build -o docker-ldap-change-password-web-ui main.go
docker:
@echo "Building docker image"
docker build -t ${REPO}:${VER} -t ${REPO}:latest .
push:
@echo "Pushing to dockerhub"
docker push ${REPO}:${VER}
docker push ${REPO}:latest
clean:
rm -rf docker-ldap-change-password-web-ui