forked from wazuh/wazuh-docker
Add check (input.dev must be false) for image validation and GH issue notification in push workflow
This commit is contained in:
@@ -157,6 +157,7 @@ jobs:
|
|||||||
working-directory: ./build-docker-images
|
working-directory: ./build-docker-images
|
||||||
|
|
||||||
- name: Image exists validation
|
- name: Image exists validation
|
||||||
|
if: ${{ inputs.dev == false }}
|
||||||
id: validation
|
id: validation
|
||||||
run: |
|
run: |
|
||||||
IMAGE_TAG=${{ inputs.image_tag }}
|
IMAGE_TAG=${{ inputs.image_tag }}
|
||||||
@@ -181,7 +182,7 @@ jobs:
|
|||||||
echo "purpose=$PURPOSE" >> $GITHUB_OUTPUT
|
echo "purpose=$PURPOSE" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: GH issue notification
|
- name: GH issue notification
|
||||||
if: ${{ steps.validation.outputs.purpose != '' }}
|
if: ${{ inputs.dev == false && steps.validation.outputs.purpose != '' }}
|
||||||
run: |
|
run: |
|
||||||
IMAGE_TAG=${{ inputs.image_tag }}
|
IMAGE_TAG=${{ inputs.image_tag }}
|
||||||
GH_TITLE=""
|
GH_TITLE=""
|
||||||
|
|||||||
Reference in New Issue
Block a user