mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-07-05 20:06:16 +00:00
Fix github action
This commit is contained in:
parent
72945e3679
commit
065599ca0c
10
.github/workflows/image-push-master.yml
vendored
10
.github/workflows/image-push-master.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@ -25,7 +25,7 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push container image for thick plugin
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
@ -47,7 +47,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push thin container image
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
@ -69,7 +69,7 @@ jobs:
|
||||
provenance: false
|
||||
|
||||
- name: Push thin container debug image
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
|
10
.github/workflows/image-push-release.yml
vendored
10
.github/workflows/image-push-release.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@ -33,7 +33,7 @@ jobs:
|
||||
latest=false
|
||||
|
||||
- name: Push container image for thick plugin
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@ -71,7 +71,7 @@ jobs:
|
||||
latest=false
|
||||
|
||||
- name: Push thin container image
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
@ -85,7 +85,7 @@ jobs:
|
||||
provenance: false
|
||||
|
||||
- name: Push thin container debug image
|
||||
if: github.repository_owner == ${{ env.image-push-owner }}
|
||||
if: ${{ github.repository_owner == env.image-push-owner }}
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
|
Loading…
Reference in New Issue
Block a user