From aec61e0bd4dcc2b79e75d952f050715df7f8b293 Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Sun, 13 Oct 2024 12:39:01 +0530 Subject: T6732: add build package reusable workflow --- .github/workflows/build-package.yml | 47 +++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 17 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index e988cd28a..ed71194de 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -1,21 +1,34 @@ +# name: Debian Package Build +# on: +# pull_request: +# branches: +# - circinus +# paths: +# - '**' +# - '!.github/**' +# - '!**/*.md' + +# jobs: +# package-build: +# runs-on: ubuntu-latest +# container: +# image: vyos/vyos-build:current +# options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 +# steps: +# - name: Checkout +# uses: actions/checkout@v4 +# - name: Build Debian package +# run: dpkg-buildpackage -uc -us -tc -b + name: Debian Package Build on: - pull_request: - branches: - - circinus - paths: - - '**' - - '!.github/**' - - '!**/*.md' + pull_request jobs: - package-build: - runs-on: ubuntu-latest - container: - image: vyos/vyos-build:current - options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Build Debian package - run: dpkg-buildpackage -uc -us -tc -b + build-package: + uses: vyos/.github/.github/workflows/build-image.yml@feature/T6732-image-build-workflow + secrets: inherit + with: + release_version: "1.5.1" + release_flavor: "generic" + release_arch: "amd64" -- cgit v1.2.3