From 87eaaa3131911af900294e17c4ae95722dc0ceef Mon Sep 17 00:00:00 2001 From: adil ghaffar Date: Wed, 15 May 2024 11:33:47 +0300 Subject: [PATCH] Fixes workflow scripts Signed-off-by: adil ghaffar --- .github/workflows/image-push-master.yml | 7 +++---- .github/workflows/image-push-release.yml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/image-push-master.yml b/.github/workflows/image-push-master.yml index e186bc2b5..96ae59dcc 100644 --- a/.github/workflows/image-push-master.yml +++ b/.github/workflows/image-push-master.yml @@ -7,7 +7,6 @@ env: image-push-owner: 'k8snetworkplumbingwg' jobs: build-and-push-amd64-device-plugin: - if: ${{ github.repository_owner == env.image-push-owner }} name: Image push AMD64 runs-on: ubuntu-20.04 env: @@ -27,6 +26,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push sriov-network-device-plugin + if: ${{ github.repository_owner == env.image-push-owner }} uses: docker/build-push-action@v4 with: context: . @@ -38,7 +38,6 @@ jobs: file: images/Dockerfile build-and-push-arm64-device-plugin: - if: ${{ github.repository_owner == env.image-push-owner }} name: Image push ARM64 runs-on: ubuntu-20.04 env: @@ -61,6 +60,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push sriov-network-device-plugin + if: ${{ github.repository_owner == env.image-push-owner }} uses: docker/build-push-action@v4 with: context: . @@ -71,7 +71,6 @@ jobs: file: images/Dockerfile.arm64 build-and-push-ppc64le-device-plugin: - if: ${{ github.repository_owner == env.image-push-owner }} name: Image push ppc64le runs-on: ubuntu-20.04 env: @@ -94,6 +93,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push sriov-network-device-plugin + if: ${{ github.repository_owner == env.image-push-owner }} uses: docker/build-push-action@v4 with: context: . @@ -104,7 +104,6 @@ jobs: file: images/Dockerfile.ppc64le push-manifest: - if: ${{ github.repository_owner == env.image-push-owner }} runs-on: ubuntu-20.04 env: IMAGE_NAME: ghcr.io/${{ github.repository }} diff --git a/.github/workflows/image-push-release.yml b/.github/workflows/image-push-release.yml index 39f557f43..888054d2d 100644 --- a/.github/workflows/image-push-release.yml +++ b/.github/workflows/image-push-release.yml @@ -7,7 +7,6 @@ env: image-push-owner: 'k8snetworkplumbingwg' jobs: build-and-push-amd64-device-plugin: - if: ${{ github.repository_owner == env.image-push-owner }} name: Image push AMD64 runs-on: ubuntu-20.04 env: @@ -37,6 +36,7 @@ jobs: type=ref,event=tag - name: Build and push sriov-network-device-plugin + if: ${{ github.repository_owner == env.image-push-owner }} uses: docker/build-push-action@v4 with: context: . @@ -47,7 +47,6 @@ jobs: file: images/Dockerfile build-and-push-arm64-device-plugin: - if: ${{ github.repository_owner == env.image-push-owner }} name: Image push ARM64 runs-on: ubuntu-20.04 env: @@ -81,6 +80,7 @@ jobs: - name: Build and push sriov-network-device-plugin + if: ${{ github.repository_owner == env.image-push-owner }} uses: docker/build-push-action@v4 with: context: . @@ -91,7 +91,6 @@ jobs: file: images/Dockerfile.arm64 build-and-push-ppc64le-device-plugin: - if: ${{ github.repository_owner == env.image-push-owner }} name: Image push ppc64le runs-on: ubuntu-20.04 env: @@ -124,6 +123,7 @@ jobs: type=ref,event=tag - name: Build and push sriov-network-device-plugin + if: ${{ github.repository_owner == env.image-push-owner }} uses: docker/build-push-action@v4 with: context: . @@ -134,7 +134,6 @@ jobs: file: images/Dockerfile.ppc64le push-manifest: - if: ${{ github.repository_owner == env.image-push-owner }} runs-on: ubuntu-20.04 env: IMAGE_NAME: ghcr.io/${{ github.repository }}