Skip to content

Commit

Permalink
build: use correct version for multiarch image
Browse files Browse the repository at this point in the history
Pass correct version to multiacrh build targets.

Follow up on #517
Signed-off-by: Alexander Yastrebov <[email protected]>
  • Loading branch information
AlexanderYastrebov committed Jun 4, 2024
1 parent 0df1e50 commit 9e66f30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func loadSettings() error {
}

func main() {
log.Infof("starting %s %s", os.Args[0], version)
log.Infof("Starting %s %s", os.Args[0], version)
var (
awsAdapter *aws.Adapter
kubeAdapter *kubernetes.Adapter
Expand Down
2 changes: 1 addition & 1 deletion delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pipeline:
IMAGE=$IMAGE VERSION=$VERSION make build.push
# multi-arch image (Zalando private)
make build.linux.amd64 build.linux.arm64
VERSION=$VERSION make build.linux.amd64 build.linux.arm64
IMAGE=container-registry-test.zalando.net/teapot/kube-ingress-aws-controller
docker buildx create --config /etc/cdp-buildkitd.toml --driver-opt network=host --bootstrap --use
docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/static:latest -t "${IMAGE}:${VERSION}" --platform linux/amd64,linux/arm64 --push .
Expand Down

0 comments on commit 9e66f30

Please sign in to comment.