mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-07-06 12:26:15 +00:00
Merge pull request #998 from s1061123/dev/action-update
Update github action version
This commit is contained in:
commit
b660d69e18
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -10,12 +10,12 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
|
41
.github/workflows/image-build.yml
vendored
41
.github/workflows/image-build.yml
vendored
@ -6,13 +6,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
@ -24,13 +24,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
@ -42,13 +42,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
@ -60,13 +60,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
@ -78,13 +78,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
@ -96,13 +96,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
@ -114,14 +114,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Download OKD Builder Dockerfile
|
- name: Download OKD Builder Dockerfile
|
||||||
run: curl https://raw.githubusercontent.com/okd-project/images/main/okd-builder.Dockerfile -o images/okd-builder.Dockerfile
|
run: curl https://raw.githubusercontent.com/okd-project/images/main/okd-builder.Dockerfile -o images/okd-builder.Dockerfile
|
||||||
|
|
||||||
- name: Organically build golang builder image
|
- name: Organically build golang builder image
|
||||||
run: docker build -t local/okdbuilder:latest -f images/okd-builder.Dockerfile .
|
run: docker build -t local/okdbuilder:latest -f images/okd-builder.Dockerfile .
|
||||||
|
|
||||||
|
103
.github/workflows/image-push-master.yml
vendored
103
.github/workflows/image-push-master.yml
vendored
@ -9,14 +9,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push container image
|
- name: Push container image
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
@ -35,7 +35,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push container image for daemon based deployment
|
- name: Push container image for daemon based deployment
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
@ -49,14 +49,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
@ -64,7 +64,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push container image
|
- name: Push container image
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
@ -78,14 +78,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
@ -93,7 +93,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push container image
|
- name: Push container image
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
@ -107,14 +107,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
@ -122,7 +122,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push container image
|
- name: Push container image
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
@ -136,14 +136,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
@ -151,7 +151,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Push container image
|
- name: Push container image
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
@ -160,34 +160,35 @@ jobs:
|
|||||||
ghcr.io/${{ github.repository }}:snapshot-s390x
|
ghcr.io/${{ github.repository }}:snapshot-s390x
|
||||||
file: images/Dockerfile.s390x
|
file: images/Dockerfile.s390x
|
||||||
|
|
||||||
push-origin:
|
# TODO: need to fix this action
|
||||||
name: Image push/origin
|
# push-origin:
|
||||||
runs-on: ubuntu-latest
|
# name: Image push/origin
|
||||||
steps:
|
# runs-on: ubuntu-latest
|
||||||
- name: Check out code into the Go module directory
|
# steps:
|
||||||
uses: actions/checkout@v2
|
# - name: Check out code into the Go module directory
|
||||||
|
# uses: actions/checkout@v3
|
||||||
- name: Set up Docker Buildx
|
#
|
||||||
uses: docker/setup-buildx-action@v1
|
# - name: Set up Docker Buildx
|
||||||
|
# uses: docker/setup-buildx-action@v2
|
||||||
- name: Login to GitHub Container Registry
|
#
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
# - name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v1
|
# if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
with:
|
# uses: docker/login-action@v2
|
||||||
registry: ghcr.io
|
# with:
|
||||||
username: ${{ github.repository_owner }}
|
# registry: ghcr.io
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
# username: ${{ github.repository_owner }}
|
||||||
|
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Push container image
|
#
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
# - name: Push container image
|
||||||
uses: docker/build-push-action@v2
|
# if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
with:
|
# uses: docker/build-push-action@v3
|
||||||
context: .
|
# with:
|
||||||
push: true
|
# context: .
|
||||||
tags: |
|
# push: true
|
||||||
ghcr.io/${{ github.repository }}:latest-origin
|
# tags: |
|
||||||
ghcr.io/${{ github.repository }}:snapshot-origin
|
# ghcr.io/${{ github.repository }}:latest-origin
|
||||||
file: images/Dockerfile.openshift
|
# ghcr.io/${{ github.repository }}:snapshot-origin
|
||||||
|
# file: images/Dockerfile.openshift
|
||||||
|
|
||||||
push-manifest:
|
push-manifest:
|
||||||
needs: [push-amd64, push-arm64, push-ppc64le, push-s390x]
|
needs: [push-amd64, push-arm64, push-ppc64le, push-s390x]
|
||||||
@ -196,11 +197,11 @@ jobs:
|
|||||||
REPOSITORY: ghcr.io/${{ github.repository }}
|
REPOSITORY: ghcr.io/${{ github.repository }}
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
|
81
.github/workflows/image-push-release.yml
vendored
81
.github/workflows/image-push-release.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
@ -56,7 +56,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
@ -92,7 +92,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
@ -128,7 +128,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
@ -164,7 +164,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
@ -195,41 +195,42 @@ jobs:
|
|||||||
${{ steps.docker_meta.outputs.tags }}-s390x
|
${{ steps.docker_meta.outputs.tags }}-s390x
|
||||||
file: images/Dockerfile.s390x
|
file: images/Dockerfile.s390x
|
||||||
|
|
||||||
push-origin:
|
# TODO: need to fix this action
|
||||||
name: Image push/origin
|
# push-origin:
|
||||||
runs-on: ubuntu-latest
|
# name: Image push/origin
|
||||||
steps:
|
# runs-on: ubuntu-latest
|
||||||
- name: Check out code into the Go module directory
|
# steps:
|
||||||
uses: actions/checkout@v2
|
# - name: Check out code into the Go module directory
|
||||||
|
# uses: actions/checkout@v3
|
||||||
- name: Set up Docker Buildx
|
#
|
||||||
uses: docker/setup-buildx-action@v1
|
# - name: Set up Docker Buildx
|
||||||
|
# uses: docker/setup-buildx-action@v1
|
||||||
- name: Login to GitHub Container Registry
|
#
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
# - name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@v1
|
# if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
with:
|
# uses: docker/login-action@v1
|
||||||
registry: ghcr.io
|
# with:
|
||||||
username: ${{ github.repository_owner }}
|
# registry: ghcr.io
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
# username: ${{ github.repository_owner }}
|
||||||
|
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Docker meta
|
#
|
||||||
id: docker_meta
|
# - name: Docker meta
|
||||||
uses: crazy-max/ghaction-docker-meta@v1
|
# id: docker_meta
|
||||||
with:
|
# uses: crazy-max/ghaction-docker-meta@v1
|
||||||
images: ghcr.io/${{ github.repository }}
|
# with:
|
||||||
tag-latest: false
|
# images: ghcr.io/${{ github.repository }}
|
||||||
|
# tag-latest: false
|
||||||
- name: Push container image
|
#
|
||||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
# - name: Push container image
|
||||||
uses: docker/build-push-action@v2
|
# if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||||
with:
|
# uses: docker/build-push-action@v2
|
||||||
context: .
|
# with:
|
||||||
push: true
|
# context: .
|
||||||
tags: |
|
# push: true
|
||||||
ghcr.io/${{ github.repository }}:stable-origin
|
# tags: |
|
||||||
${{ steps.docker_meta.outputs.tags }}-origin
|
# ghcr.io/${{ github.repository }}:stable-origin
|
||||||
file: images/Dockerfile.openshift
|
# ${{ steps.docker_meta.outputs.tags }}-origin
|
||||||
|
# file: images/Dockerfile.openshift
|
||||||
|
|
||||||
push-manifest:
|
push-manifest:
|
||||||
needs: [push-amd64, push-arm64, push-ppc64le, push-s390x]
|
needs: [push-amd64, push-arm64, push-ppc64le, push-s390x]
|
||||||
|
2
.github/workflows/kind-e2e.yml
vendored
2
.github/workflows/kind-e2e.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
github.event_name == 'pull_request' ) || (github.event_name == 'push' && github.event.commits != '[]' )
|
github.event_name == 'pull_request' ) || (github.event_name == 'push' && github.event.commits != '[]' )
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup python
|
- name: Setup python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -8,12 +8,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.18.x
|
go-version: 1.18.x
|
||||||
|
|
||||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -9,12 +9,12 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Run Revive Action by pulling pre-built image
|
- name: Run Revive Action by pulling pre-built image
|
||||||
uses: docker://morphy/revive-action:v2
|
uses: docker://morphy/revive-action:v2
|
||||||
|
Loading…
Reference in New Issue
Block a user