From 8c6161d29eef7bb828d3678db182445ea8e38eb3 Mon Sep 17 00:00:00 2001 From: "JESUS D. GARCIA" Date: Fri, 27 Sep 2024 17:41:38 -0500 Subject: [PATCH] Update Procedure_push_docker_images.yml --- .github/workflows/Procedure_push_docker_images.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Procedure_push_docker_images.yml b/.github/workflows/Procedure_push_docker_images.yml index 4aef2b4a..bb720c92 100644 --- a/.github/workflows/Procedure_push_docker_images.yml +++ b/.github/workflows/Procedure_push_docker_images.yml @@ -8,6 +8,10 @@ on: description: 'Docker image tag' default: '4.10.0' required: true + DOCKER_REFERENCE: + description: 'wazuh-docker reference' + default: 'v4.10.0' + required: false PRODUCTS: description: 'Comma-separated list of the image names to build and push' default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer' @@ -35,6 +39,11 @@ on: default: '4.10.0' required: true type: string + DOCKER_REFERENCE: + description: 'wazuh-docker reference' + default: 'v4.10.0' + required: false + type: string PRODUCTS: description: 'Comma-separated list of the image names to build and push' default: 'wazuh-manager,wazuh-dashboard,wazuh-indexer' @@ -76,6 +85,7 @@ jobs: echo "---------------------------------------------" echo "* ID: ${{ inputs.ID }}" echo "* IMAGE_TAG: ${{ inputs.IMAGE_TAG }}" + echo "* DOCKER_REFERENCE: ${{ inputs.DOCKER_REFERENCE }}" echo "* PRODUCTS: ${{ inputs.PRODUCTS }}" echo "* FILEBEAT_MODULE_VERSION: ${{ inputs.FILEBEAT_MODULE_VERSION }}" echo "* REVISION: ${{ inputs.REVISION }}" @@ -85,7 +95,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ github.ref }} + ref: ${{ inputs.DOCKER_REFERENCE }} - name: Log in to Docker Hub uses: docker/login-action@v3