Skip to content

Commit

Permalink
fix ci.yaml file
Browse files Browse the repository at this point in the history
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
  • Loading branch information
denis-tingaikin committed Nov 20, 2023
1 parent 55487d4 commit 819c203
Showing 1 changed file with 33 additions and 6 deletions.
39 changes: 33 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:
- 'release/**'
pull_request:
jobs:
yamllint:
uses: networkservicemesh/.github/.github/workflows/yamllint.yaml@main
with:
config_file: "./.yamllint.yml"
# yamllint:
# uses: networkservicemesh/.github/.github/workflows/yamllint.yaml@main
# with:
# config_file: "./.yamllint.yml"

shellcheck:
uses: networkservicemesh/.github/.github/workflows/shellcheck.yaml@main
Expand All @@ -26,8 +26,8 @@ jobs:
with:
allowed_repositories: "api, sdk, sdk-k8s, sdk-kernel, sdk-sriov, sdk-vpp, govpp, vpphelper"

checkgomod:
uses: networkservicemesh/.github/.github/workflows/checkgomod.yaml@main
# checkgomod:
# uses: networkservicemesh/.github/.github/workflows/checkgomod.yaml@main

gogenerate:
uses: networkservicemesh/.github/.github/workflows/cmd-gogenerate.yaml@main
Expand All @@ -40,3 +40,30 @@ jobs:
uses: networkservicemesh/.github/.github/workflows/docker-build-and-test.yaml@main
secrets:
token: ${{ secrets.GITHUB_TOKEN }}

docker:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
ref: refs/heads/release/v1.11.1

- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v1

- name: "Login to GitHub Container Registry"
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

- name: "Build and push"
uses: docker/build-push-action@v2
with:
file: Dockerfile
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: "ghcr.io/networkservicemesh/cmd-forwarder-vpp:v1.11.1"

0 comments on commit 819c203

Please sign in to comment.