Skip to content

Commit

Permalink
Fix multiplatform build, update golang version and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danfromtitan committed Oct 25, 2023
1 parent 1a2b847 commit 894f637
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,18 +139,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: CodingNagger/minikube-setup-action@v1
- uses: medyagh/setup-minikube@master
id: minikube
with:
k8s-version: v1.28
container-runtime: containerd
driver: docker
kubernetes-version: v1.28
minikube-version: 1.31.2
minikube-platform: amd64

- name: Launch minikube
run: eval ${{ steps.minikube.outputs.launcher }}

- name: Check minikube pods
run: kubectl get pods
run: kubectl get pods -A

- name: setup helm
run: |
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM scratch

ARG TARGETOS
ARG TARGETARCH

COPY target/envars-webhook_${TARGETOS}_${TARGETARCH} /envars-webhook
ENTRYPOINT ["/envars-webhook"]

0 comments on commit 894f637

Please sign in to comment.