File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 77 image-push-owner : ' k8snetworkplumbingwg'
88jobs :
99 build-and-push-amd64-device-plugin :
10- if : ${{ github.repository_owner == env.image-push-owner }}
1110 name : Image push AMD64
1211 runs-on : ubuntu-20.04
1312 env :
2726 password : ${{ secrets.GITHUB_TOKEN }}
2827
2928 - name : Build and push sriov-network-device-plugin
29+ if : ${{ github.repository_owner == env.image-push-owner }}
3030 uses : docker/build-push-action@v4
3131 with :
3232 context : .
3838 file : images/Dockerfile
3939
4040 build-and-push-arm64-device-plugin :
41- if : ${{ github.repository_owner == env.image-push-owner }}
4241 name : Image push ARM64
4342 runs-on : ubuntu-20.04
4443 env :
6160 password : ${{ secrets.GITHUB_TOKEN }}
6261
6362 - name : Build and push sriov-network-device-plugin
63+ if : ${{ github.repository_owner == env.image-push-owner }}
6464 uses : docker/build-push-action@v4
6565 with :
6666 context : .
7171 file : images/Dockerfile.arm64
7272
7373 build-and-push-ppc64le-device-plugin :
74- if : ${{ github.repository_owner == env.image-push-owner }}
7574 name : Image push ppc64le
7675 runs-on : ubuntu-20.04
7776 env :
9493 password : ${{ secrets.GITHUB_TOKEN }}
9594
9695 - name : Build and push sriov-network-device-plugin
96+ if : ${{ github.repository_owner == env.image-push-owner }}
9797 uses : docker/build-push-action@v4
9898 with :
9999 context : .
@@ -104,7 +104,6 @@ jobs:
104104 file : images/Dockerfile.ppc64le
105105
106106 push-manifest :
107- if : ${{ github.repository_owner == env.image-push-owner }}
108107 runs-on : ubuntu-20.04
109108 env :
110109 IMAGE_NAME : ghcr.io/${{ github.repository }}
Original file line number Diff line number Diff line change 77 image-push-owner : ' k8snetworkplumbingwg'
88jobs :
99 build-and-push-amd64-device-plugin :
10- if : ${{ github.repository_owner == env.image-push-owner }}
1110 name : Image push AMD64
1211 runs-on : ubuntu-20.04
1312 env :
3736 type=ref,event=tag
3837
3938 - name : Build and push sriov-network-device-plugin
39+ if : ${{ github.repository_owner == env.image-push-owner }}
4040 uses : docker/build-push-action@v4
4141 with :
4242 context : .
4747 file : images/Dockerfile
4848
4949 build-and-push-arm64-device-plugin :
50- if : ${{ github.repository_owner == env.image-push-owner }}
5150 name : Image push ARM64
5251 runs-on : ubuntu-20.04
5352 env :
8180
8281
8382 - name : Build and push sriov-network-device-plugin
83+ if : ${{ github.repository_owner == env.image-push-owner }}
8484 uses : docker/build-push-action@v4
8585 with :
8686 context : .
9191 file : images/Dockerfile.arm64
9292
9393 build-and-push-ppc64le-device-plugin :
94- if : ${{ github.repository_owner == env.image-push-owner }}
9594 name : Image push ppc64le
9695 runs-on : ubuntu-20.04
9796 env :
@@ -124,6 +123,7 @@ jobs:
124123 type=ref,event=tag
125124
126125 - name : Build and push sriov-network-device-plugin
126+ if : ${{ github.repository_owner == env.image-push-owner }}
127127 uses : docker/build-push-action@v4
128128 with :
129129 context : .
@@ -134,7 +134,6 @@ jobs:
134134 file : images/Dockerfile.ppc64le
135135
136136 push-manifest :
137- if : ${{ github.repository_owner == env.image-push-owner }}
138137 runs-on : ubuntu-20.04
139138 env :
140139 IMAGE_NAME : ghcr.io/${{ github.repository }}
You can’t perform that action at this time.
0 commit comments