[add] better docker tagging makefile
This commit is contained in:
parent
4caec5fbe0
commit
25ab36e4b5
7
Makefile
7
Makefile
@ -11,16 +11,15 @@ build_local:
|
|||||||
docker_build_local:
|
docker_build_local:
|
||||||
docker build -t bookmanager:latest .
|
docker build -t bookmanager:latest .
|
||||||
|
|
||||||
docker_build_release_beta:
|
docker_build_release_dev:
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
-t gitea.va.reichard.io/reichard/bookmanager:beta \
|
-t gitea.va.reichard.io/evan/bookmanager:dev \
|
||||||
-t gitea.va.reichard.io/evan/bookmanager:beta \
|
|
||||||
--push .
|
--push .
|
||||||
|
|
||||||
docker_build_release_latest:
|
docker_build_release_latest:
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
-t gitea.va.reichard.io/reichard/bookmanager:latest \
|
|
||||||
-t gitea.va.reichard.io/evan/bookmanager:latest \
|
-t gitea.va.reichard.io/evan/bookmanager:latest \
|
||||||
|
-t gitea.va.reichard.io/evan/bookmanager:`git describe --tags` \
|
||||||
--push .
|
--push .
|
||||||
|
Loading…
Reference in New Issue
Block a user