Skip to content

Commit

Permalink
fix arch in docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Feb 23, 2024
1 parent 6e6d481 commit f446dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion consul-lambda/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dev: dist
# We can set this here one time, once we're off CircleCI.
# export DOCKER_BUILDKIT=1
BUILD_ARGS = BIN_NAME=consul-lambda-registrator VERSION=$(VERSION) GIT_COMMIT=$(GIT_COMMIT) GIT_DIRTY=$(GIT_DIRTY)
TAG ?= $(BIN_NAME)/$(TARGET)/$(PLATFORM):$(VERSION)
TAG ?= $(BIN_NAME)/$(TARGET):$(VERSION)
BA_FLAGS = $(addprefix --build-arg=,$(BUILD_ARGS))
FLAGS = --load --platform $(PLATFORM) --tag $(TAG) $(BA_FLAGS)

Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/setup-terraform/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ resource "null_resource" "push-lambda-registrator-to-ecr" {
command = <<EOF
aws ecr get-login-password --region ${var.region} | docker login --username AWS --password-stdin ${local.account_id}.dkr.ecr.${var.region}.amazonaws.com
cd ../../../consul-lambda
make docker TAG=${aws_ecr_repository.lambda-registrator.repository_url}:${local.ecr_image_tag} ARCH=${var.arch}
make docker TAG=${aws_ecr_repository.lambda-registrator.repository_url}:${local.ecr_image_tag}-${var.arch} ARCH=${var.arch}
docker push ${aws_ecr_repository.lambda-registrator.repository_url}:${local.ecr_image_tag}
EOF
}
Expand Down

0 comments on commit f446dc3

Please sign in to comment.