summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkumvijaya <kuvmijaya@gmail.com>2024-09-29 18:00:53 +0530
committerkumvijaya <kuvmijaya@gmail.com>2024-09-29 18:00:53 +0530
commit162467625b66ae5f57058c63fe7c1cbfbb80a489 (patch)
tree091b8b26df4774678c57583a5201f6ce8cf219ce
parent651485476f9e9cf9ade28355eb0206eb09971eb0 (diff)
downloadvyos-workflow-test-temp-162467625b66ae5f57058c63fe7c1cbfbb80a489.tar.gz
vyos-workflow-test-temp-162467625b66ae5f57058c63fe7c1cbfbb80a489.zip
T6732: test
-rw-r--r--.github/workflows/build-image.yml47
1 files changed, 9 insertions, 38 deletions
diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml
index 0f50c31..209a99d 100644
--- a/.github/workflows/build-image.yml
+++ b/.github/workflows/build-image.yml
@@ -1,54 +1,25 @@
name: "Build image"
on:
- pull_request:
+ pull_request_target:
# The branches below must be a subset of the branches above
branches: [ "current" ]
- workflow_dispatch:
- inputs:
- debian_mirror_url:
- required: false
- type: string
- default: 'http://deb.debian.org/debian/'
- debian_security_mirror_url:
- required: false
- type: string
- default: ''
- vyos_mirror_base_url:
- required: false
- type: string
- default: 'https://packages.vyos.net/repositories'
- arch:
- required: false
- type: string
- default: amd64
- build_by:
- required: false
- type: string
- default: 'autobuild@vyos.net'
- release_version:
- required: true
- type: string
- default: '1.5.1'
- release_flavor:
- required: false
- type: string
- default: 'generic'
permissions:
actions: read
contents: read
security-events: write
+ pull-requests: write
jobs:
build-image:
uses: vyos/.github/.github/workflows/build-image.yml@feature/T6732-image-build-workflow
secrets: inherit
with:
- debian_mirror_url: ${{ inputs.debian_mirror_url }}
- debian_security_mirror_url: ${{ inputs.debian_security_mirror_url }}
- vyos_mirror_base_url: ${{ inputs.vyos_mirror_base_url }}
- arch: ${{ inputs.arch }}
- build_by: ${{ inputs.build_by }}
- release_version: ${{ inputs.release_version }}
- release_flavor: ${{ inputs.release_flavor }}
+ debian_mirror_url: 'http://deb.debian.org/debian/'
+ debian_security_mirror_url: ''
+ vyos_mirror_base_url: 'https://packages.vyos.net/repositories'
+ arch: 'amd64'
+ build_by: 'autobuild@vyos.net'
+ release_version: '1.5.1'
+ release_flavor: 'generic'