forked from wazuh/wazuh-docker
Merge pull request #2231 from wazuh/enhancement/2230-workflow-dispatch-option
Add workflow dispatch option
This commit is contained in:
@@ -2,7 +2,14 @@ name: Wazuh Docker pipeline
|
|||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
id-token: write
|
id-token: write
|
||||||
on: [pull_request]
|
on:
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
docker_reference:
|
||||||
|
description: 'Branch or tag to build from'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@@ -36,7 +43,7 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
image_tag: ${{ needs.prepare-variables.outputs.WAZUH_IMAGE_VERSION }}
|
image_tag: ${{ needs.prepare-variables.outputs.WAZUH_IMAGE_VERSION }}
|
||||||
docker_reference: ${{ github.head_ref }}
|
docker_reference: ${{ github.head_ref || inputs.docker_reference }}
|
||||||
commit_list: '["latest", "latest", "latest", "latest"]'
|
commit_list: '["latest", "latest", "latest", "latest"]'
|
||||||
id: ${{ github.run_id }}
|
id: ${{ github.run_id }}
|
||||||
dev: true
|
dev: true
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- Add workflow dispatch option ([#2231](https://github.com/wazuh/wazuh-docker/pull/2231))
|
||||||
- Change Wazuh manager certificates names ([#2223](https://github.com/wazuh/wazuh-docker/pull/2223))
|
- Change Wazuh manager certificates names ([#2223](https://github.com/wazuh/wazuh-docker/pull/2223))
|
||||||
- Move index documents test ([#2221](https://github.com/wazuh/wazuh-docker/pull/2221))
|
- Move index documents test ([#2221](https://github.com/wazuh/wazuh-docker/pull/2221))
|
||||||
- Separate Agent/Manager - Docker - Adapt image build process ([#2220](https://github.com/wazuh/wazuh-docker/pull/2220))
|
- Separate Agent/Manager - Docker - Adapt image build process ([#2220](https://github.com/wazuh/wazuh-docker/pull/2220))
|
||||||
|
|||||||
Reference in New Issue
Block a user