mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
ci: add docker build
This commit is contained in:
12
Makefile
Normal file
12
Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
ImageTag ?=v0.9.6
|
||||
SoybeanImg ?= soybean/soybean:$(ImageTag)
|
||||
|
||||
VERSION=$(shell git rev-parse --short HEAD)
|
||||
|
||||
soybean: soybean-build soybean-push
|
||||
|
||||
soybean-build:
|
||||
docker build --build-arg version=$(VERSION) -t ${SoybeanImg} -f build/docker/Dockerfile .
|
||||
|
||||
soybean-push:
|
||||
docker push ${SoybeanImg}
|
Reference in New Issue
Block a user