Skip to content

Commit 95caa3a

Browse files
committed
update workflow
Signed-off-by: Jason Cho <[email protected]>
1 parent 534fd4f commit 95caa3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Build the binaries
4040
run: |
41-
GOOS=linux GOARCH=ppc64le go build -o power-dra-kubeletplugin cmd/power-dra-kubeletplugin/main.go
41+
GOOS=linux GOARCH=ppc64le go build -ldflags "-s -w -X github.com/IBM/power-dra-driver/internal/info.gitCommit=925234afaa3bab9fdb64adb8f14b3957df3c7cac-dirty -X github.com/IBM/power-dra-driver/internal/info.version=v0.1.0" github.com/IBM/power-dra-driver/cmd/power-dra-kubeletplugin
4242
4343
# Install the cosign tool except on PR
4444
# https://github.com/sigstore/cosign-installer
@@ -78,7 +78,7 @@ jobs:
7878
with:
7979
context: .
8080
platforms: linux/ppc64le
81-
file: build/Containerfile-build
81+
file: Dockerfile
8282
push: ${{ github.event_name != 'pull_request' }}
8383
tags: ${{ steps.meta.outputs.tags }}
8484
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)