[DO-1171] update ubuntu to 24.04 (#3)
Reviewed-on: https://git.avroid.tech/Docker/tavro-build-linux/pulls/3 Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Co-committed-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech>
This commit is contained in:
committed by
Aleksandr Vodyanov
parent
40ea9163e2
commit
0f23f14d6a
14
Makefile
14
Makefile
@@ -2,7 +2,7 @@
|
||||
|
||||
IMAGE_NAME = tavro-build-linux
|
||||
IMAGE_GROUP = tavro
|
||||
IMAGE_TAG = 1.2
|
||||
IMAGE_TAG = 1.3
|
||||
REVISION =
|
||||
DOCKER_REGISTRY = harbor.avroid.tech
|
||||
|
||||
@@ -14,15 +14,19 @@ all:
|
||||
@echo ' make clean'
|
||||
|
||||
build:
|
||||
DOCKER_BUILDKIT=1 docker build \
|
||||
|
||||
ifeq ($(CI), false)
|
||||
CI_FLAGS='--no-cache'
|
||||
endif
|
||||
|
||||
DOCKER_BUILDKIT=1 $(CI_FLAGS) \
|
||||
docker build \
|
||||
-f Dockerfile \
|
||||
--platform linux/amd64 \
|
||||
--network "host" \
|
||||
-t $(DOCKER_REGISTRY)/$(IMAGE_GROUP)/$(IMAGE_NAME):$(IMAGE_TAG)$(REVISION) src/
|
||||
|
||||
push:
|
||||
ifeq ($(CI), false)
|
||||
docker login https://$(DOCKER_REGISTRY)
|
||||
endif
|
||||
docker push $(DOCKER_REGISTRY)/$(IMAGE_GROUP)/$(IMAGE_NAME):$(IMAGE_TAG)$(REVISION)
|
||||
|
||||
getTag:
|
||||
|
||||
Reference in New Issue
Block a user