diff --git a/Makefile b/Makefile index 4a64f9d..cbd3e84 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,6 @@ ROOT_DIR=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) BIN=$(ROOT_DIR)/build/vegapokerbot GO_VERSION=$(shell go version | sed -e 's/go version //') BIN_DIR=$(ROOT_DIR)/build -APP_IMAGE=gitea.neur0tx.site/neur0toxine/vegapokerbot:latest build: deps fmt @echo "> building with ${GO_VERSION}" @@ -13,10 +12,10 @@ build: deps fmt @echo $(BIN) docker: - @docker buildx build --platform linux/amd64 --tag ${APP_IMAGE} --file Dockerfile . + @docker buildx build --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile . docker_release: - @docker buildx build --push --platform linux/amd64 --tag ${APP_IMAGE} --file Dockerfile . + @docker buildx build --push --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile . run: @${BIN} run