push all tags not just first one

This commit is contained in:
Syed Ali Shahbaz
2023-10-15 17:07:54 +04:00
committed by GitHub
parent dbbda43758
commit c4d6e766fa

View File

@@ -168,9 +168,9 @@ jobs:
run: |
tags="${{ steps.meta.outputs.tags }}"
IFS=',' read -ra ADDR <<< "$tags" # Convert string to array using ',' as delimiter
tag=${ADDR[0]} # Get the first tag
docker push $tag
for tag in "${ADDR[@]}"; do
docker push $tag
done
- name: Cleanup