Skip to content

Commit

Permalink
Fix build/release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein committed Oct 15, 2024
1 parent 9492517 commit babf6c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
context: .
push: true
tags: rancher/k3k:k3k-kubelet
file: package/Dockerfile
file: package/Dockerfile.kubelet
platforms: linux/amd64


Expand Down
4 changes: 2 additions & 2 deletions k3k-kubelet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"os"

"github.com/rancher/k3k/virtual-kubelet/pkg/config"
"github.com/rancher/k3k/virtual-kubelet/pkg/kubelet"
"github.com/rancher/k3k/k3k-kubelet/pkg/config"
"github.com/rancher/k3k/k3k-kubelet/pkg/kubelet"
"github.com/sirupsen/logrus"
"github.com/urfave/cli"
)
Expand Down
2 changes: 1 addition & 1 deletion ops/build
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [ "$CROSS" = "true" ] && [ "$ARCH" = "amd64" ]; then
fi

# build k3k-kubelet
CGO_ENABLED=0 go build -ldflags "$LINKFLAGS $OTHER_LINKFLAGS" -o bin/k3k-kubelet ./virtual-kubelet
CGO_ENABLED=0 go build -ldflags "$LINKFLAGS $OTHER_LINKFLAGS" -o bin/k3k-kubelet ./k3k-kubelet
if [ "$CROSS" = "true" ] && [ "$ARCH" = "amd64" ]; then
CGO_ENABLED=0 GOOS=linux GOARCH=s390x go build -ldflags "$LINKFLAGS $OTHER_LINKFLAGS" -o bin/k3k-kubelet-s390x
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "$LINKFLAGS $OTHER_LINKFLAGS" -o bin/k3k-kubelet-arm64
Expand Down

0 comments on commit babf6c5

Please sign in to comment.