Skip to content

Commit

Permalink
fix image build file
Browse files Browse the repository at this point in the history
  • Loading branch information
takeshi-yoshimura committed Nov 22, 2023
1 parent ed1b804 commit 18df42d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_push_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.19.2'
go-version: '1.21'
- name: set ARCH and OD
run: |
echo "ARCH=$(case $(uname -m) in x86_64) echo -n amd64 ;; aarch64) echo -n arm64 ;; *) echo -n $(uname -m) ;; esac)" >> $GITHUB_ENV
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Build
run: |
go build -v -a -ldflags '-extldflags "-static"' -gcflags="all=-N -l" -o ./bin/ocp-efa-device-plugin ./cmd/ocp-efa-device-plugin/
- name: Build and push controller
- name: Build and push efa device plugin
uses: docker/build-push-action@v2
with:
context: ./bin/
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
- name: Build
run: |
go build -v -a -ldflags '-extldflags "-static"' -gcflags="all=-N -l" -o ./bin/ocp-gdrdrv-device-plugin ./cmd/ocp-gdrdrv-device-plugin/
- name: Build and push controller
- name: Build and push gdrdrv device plugin
uses: docker/build-push-action@v2
with:
context: ./bin/
Expand Down

0 comments on commit 18df42d

Please sign in to comment.