Skip to content

Commit

Permalink
Fix adding '-dev' suffix to the image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
YisDav committed Sep 30, 2024
1 parent ca2144d commit 2054f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Procedure_push_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
- name: Tag and Push Wazuh images
if: ${{ inputs.push_images }}
run: |
IMAGE_TAG=${{ inputs.image_tag }}${{ inputs.dev && '-dev' || '' }}
IMAGE_TAG="${{ inputs.image_tag }}$( [ "${{ inputs.dev }}" == "true" ] && echo '-dev' )"
IMAGE_NAMES=${{ inputs.products }}
IFS=',' read -r -a images <<< "$IMAGE_NAMES"
for image in "${images[@]}"; do
Expand Down

0 comments on commit 2054f94

Please sign in to comment.