This commit is contained in:
parent
86ba26f559
commit
d75a0f1c6c
5
Makefile
5
Makefile
@ -5,7 +5,6 @@ ROOT_DIR=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|||||||
BIN=$(ROOT_DIR)/build/vegapokerbot
|
BIN=$(ROOT_DIR)/build/vegapokerbot
|
||||||
GO_VERSION=$(shell go version | sed -e 's/go version //')
|
GO_VERSION=$(shell go version | sed -e 's/go version //')
|
||||||
BIN_DIR=$(ROOT_DIR)/build
|
BIN_DIR=$(ROOT_DIR)/build
|
||||||
APP_IMAGE=gitea.neur0tx.site/neur0toxine/vegapokerbot:latest
|
|
||||||
|
|
||||||
build: deps fmt
|
build: deps fmt
|
||||||
@echo "> building with ${GO_VERSION}"
|
@echo "> building with ${GO_VERSION}"
|
||||||
@ -13,10 +12,10 @@ build: deps fmt
|
|||||||
@echo $(BIN)
|
@echo $(BIN)
|
||||||
|
|
||||||
docker:
|
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_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:
|
run:
|
||||||
@${BIN} run
|
@${BIN} run
|
||||||
|
Loading…
Reference in New Issue
Block a user