File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ inputs:
25
25
26
26
runs :
27
27
using : " composite"
28
+ strategy :
29
+ matrix :
30
+ deprecated_repo : [release, testing, development]
28
31
steps :
29
32
- uses : actions/checkout@v2
30
33
@@ -51,12 +54,18 @@ runs:
51
54
REPO : ${{ inputs.repo }}
52
55
OSG_SERIES : ${{ inputs.osg_series }}
53
56
REGISTRY : ${{ inputs.registry_url}}
57
+ DEPRECATED_REPO : ${{ matrix.deprecated_repo }}
54
58
shell : bash
55
59
run : |
56
60
docker_repo="$REGISTRY/opensciencegrid/${{ steps.generate-image-name.outputs.image }}"
57
61
tag_list=()
58
62
for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$(date +%Y%m%d-%H%M)"; do
59
63
tag_list+=("$docker_repo":"$image_tag")
64
+ if [[ $OSG_SERIES == '3.5' ]]; then
65
+ for deprecated_tag in "$OSG_SERIES-$DEPRECATED_REPO" "$OSG_SERIES-$DEPRECATED_REPO-$(date +%Y%m%d-%H%M)"; do
66
+ tag_list+=("$docker_repo":"$deprecated_tag")
67
+ done
68
+ fi
60
69
done
61
70
IFS=,
62
71
echo "::set-output name=taglist::${tag_list[*]}"
You can’t perform that action at this time.
0 commit comments