We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6968940 + f1e5510 commit c1d6d78Copy full SHA for c1d6d78
action.yml
@@ -55,8 +55,13 @@ runs:
55
run: |
56
docker_repo="$REGISTRY/opensciencegrid/${{ steps.generate-image-name.outputs.image }}"
57
tag_list=()
58
- for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$(date +%Y%m%d-%H%M)"; do
+ TIMESTAMP=$(date +%Y%m%d-%H%M)
59
+ for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$TIMESTAMP"; do
60
tag_list+=("$docker_repo":"$image_tag")
61
+ if [[ $OSG_SERIES == '3.5' ]]; then
62
+ tag_list+=("$docker_repo":"$REPO")
63
+ tag_list+=("$docker_repo":"$REPO-$TIMESTAMP")
64
+ fi
65
done
66
IFS=,
67
echo "::set-output name=taglist::${tag_list[*]}"
0 commit comments