Skip to content

Commit 7f8c31a

Browse files
author
Leonid Podolinskiy
authored
build arm64 version of operator (#19)
1 parent 35f756a commit 7f8c31a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/release.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,17 @@ jobs:
6969
username: ${{ secrets.DOCKERHUB_USER }}
7070
password: ${{ secrets.DOCKERHUB_PASS }}
7171

72+
- name: Set up QEMU
73+
uses: docker/setup-qemu-action@v3
74+
- name: Set up Docker Buildx
75+
uses: docker/setup-buildx-action@v3
76+
7277
- name: Build and push
7378
uses: docker/build-push-action@v3
7479
with:
7580
context: .
7681
push: true
82+
platforms: linux/arm64,linux/amd64
7783
tags: |
7884
lightruncom/lightrun-k8s-operator:${{steps.release_tag.outputs.new_tag}}
7985
lightruncom/lightrun-k8s-operator:latest

internal/controller/lightrunjavaagent_controller_test.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ var _ = Describe("LightrunJavaAgent controller", func() {
3636
)
3737
var containerSelector = []string{"app", "app2"}
3838
var agentConfig map[string]string = map[string]string{
39-
"max_log_cpu_cost": "2",
40-
"some_config": "1",
41-
"some_other_config": "2",
39+
"max_log_cpu_cost": "2",
40+
"some_config": "1",
41+
"some_other_config": "2",
4242
"some_yet_another_config": "1",
43-
4443
}
4544
var agentTags []string = []string{"new_tag", "prod"}
4645
var secretData map[string]string = map[string]string{

0 commit comments

Comments
 (0)