Skip to content

Commit

Permalink
build arm64 version of operator (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Podolinskiy authored Jan 15, 2024
1 parent 35f756a commit 7f8c31a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,17 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
platforms: linux/arm64,linux/amd64
tags: |
lightruncom/lightrun-k8s-operator:${{steps.release_tag.outputs.new_tag}}
lightruncom/lightrun-k8s-operator:latest
Expand Down
7 changes: 3 additions & 4 deletions internal/controller/lightrunjavaagent_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ var _ = Describe("LightrunJavaAgent controller", func() {
)
var containerSelector = []string{"app", "app2"}
var agentConfig map[string]string = map[string]string{
"max_log_cpu_cost": "2",
"some_config": "1",
"some_other_config": "2",
"max_log_cpu_cost": "2",
"some_config": "1",
"some_other_config": "2",
"some_yet_another_config": "1",

}
var agentTags []string = []string{"new_tag", "prod"}
var secretData map[string]string = map[string]string{
Expand Down

0 comments on commit 7f8c31a

Please sign in to comment.