Commit
Some checks failed
build docker image / docker-build (push) Failing after 18s

This commit is contained in:
2025-01-12 15:30:14 +02:00
parent dc4f99e922
commit 41da79574c

View File

@ -1,24 +1,9 @@
REPO=npenkov/docker-ldap-passwd-webui
VER=1.2
.PHONY: all build
.PHONY: all build push
all: init build docker push clean
init:
dep ensure
all: build clean
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
rm docker-ldap-change-password-web-ui