Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
smerle33 committed Aug 22, 2023
1 parent ed5b77b commit 7e68b41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions resources/io/jenkins/infra/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ build: ## Build the Docker Image $(IMAGE_NAME) from $(IMAGE_DOCKERFILE)

buildbake: ## Build the Docker Image(s) with dockerbake file
@echo "== Building from DockerBake file"
## debug env variable
env
## end debug
docker buildx create --use
docker buildx bake -f "$(call FixPath,$(DOCKER_BAKE_FILE))" --print
docker buildx bake -f "$(call FixPath,$(DOCKER_BAKE_FILE))"
Expand Down
4 changes: 2 additions & 2 deletions resources/io/jenkins/infra/docker/docker-bake.override.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "PLATFORMS" {
default = "linux/arm64"
}

variable "DOCKERFILE" {
variable "IMAGE_DOCKERFILE" {
default = "Dockerfile"
}

Expand All @@ -27,7 +27,7 @@ function "full_image_name" {
}

target "default" {
dockerfile = "$(DOCKERFILE)"
dockerfile = "$(IMAGE_DOCKERFILE)"
context = "$(IMAGE_DIR)"
tags = [
full_image_name("latest"),
Expand Down

0 comments on commit 7e68b41

Please sign in to comment.