Skip to content

Commit 5bcb31f

Browse files
authored
Added arm64 to docker build platforms (#73)
* Added arm64 to docker build platforms * Regenerated headers for 2024
1 parent 8172c6e commit 5bcb31f

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

.github/workflows/build-push-kafka-docker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,21 @@ jobs:
2424
echo ::set-output name=version::${VERSION}
2525
echo ::set-output name=tags::${TAGS}
2626
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
27+
- name: Set up QEMU
28+
uses: docker/setup-qemu-action@v3
2729
- name: Set up Docker Buildx
28-
uses: docker/setup-buildx-action@v1
30+
uses: docker/setup-buildx-action@v3
2931
- name: Login to DockerHub
3032
if: startsWith(github.ref, 'refs/tags/')
3133
uses: docker/login-action@v1
3234
with:
3335
username: ${{ secrets.DOCKER_USERNAME }}
3436
password: ${{ secrets.DOCKER_PASSWORD }}
3537
- name: Build and push
36-
uses: docker/build-push-action@v2
38+
uses: docker/build-push-action@v5
3739
with:
3840
context: docker/kafka
41+
platforms: linux/amd64,linux/arm64
3942
push: ${{ startsWith(github.ref, 'refs/tags/') }}
4043
tags: ${{ steps.prep.outputs.tags }}
4144
labels: |

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1beta1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hack/boilerplate/header.generated.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2023 Cisco Systems, Inc. and/or its affiliates
1+
Copyright 2024 Cisco Systems, Inc. and/or its affiliates
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

hack/boilerplate/header.go.generated.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright 2023 Cisco Systems, Inc. and/or its affiliates
2+
Copyright 2024 Cisco Systems, Inc. and/or its affiliates
33

44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)