#!/usr/bin/env bash # Load the number of docker configurations docker_configs=$(yq e '.dockers | length' .goreleaser.yml) ## Check if there are no docker configurations #if [ "$docker_configs" -eq "0" ]; then # echo "No docker images to push" # exit 0 #fi # Iterate through each docker configuration for (( i=0; i