diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fb87d166..fb9e18d1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 @@ -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"