Skip to content

Commit 042bada

Browse files
committed
handle pushing to osg-htc in osg-24 and opensciencegrid in osg-23
1 parent a4f3425 commit 042bada

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/release-series-builds.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
osg_series:
6767
- name: '23'
6868
os: 'el9'
69+
- name: '24'
70+
os: 'el9'
6971
runs-on: ubuntu-latest
7072
steps:
7173
- uses: actions/checkout@v3
@@ -109,6 +111,8 @@ jobs:
109111
osg_series:
110112
- name: '23'
111113
os: 'el9'
114+
- name: '24'
115+
os: 'el9'
112116
steps:
113117
- uses: actions/checkout@v3
114118

@@ -177,6 +181,10 @@ jobs:
177181
osg_series:
178182
- name: '23'
179183
os: 'el9'
184+
organization: 'opensciencegrid'
185+
- name: '24'
186+
os: 'el9'
187+
organization: 'osg-htc'
180188
needs: [make-date-tag, test-stash-cache]
181189
runs-on: ubuntu-latest
182190
steps:
@@ -194,11 +202,16 @@ jobs:
194202
REPO: ${{ matrix.repo }}
195203
SERIES: ${{ matrix.osg_series.name }}
196204
IMAGE: ${{ matrix.image }}
205+
ORGANIZATION: ${{ matrix.osg_series.organization }}
197206
TIMESTAMP: ${{ needs.make-date-tag.outputs.dtag }}
198207
run: |
199-
docker_repo=opensciencegrid/$IMAGE
208+
docker_repo=$ORGANIZATION/$IMAGE
200209
tag_list=()
201210
for registry in hub.opensciencegrid.org docker.io; do
211+
# osg-htc org doesn't exist in docker.io
212+
if [[ "$registry" == "docker.io" && "$ORGANIZATION" == "osg-htc" ]]; then
213+
continue
214+
fi
202215
for image_tag in "$SERIES-$REPO" "$SERIES-$REPO-$TIMESTAMP"; do
203216
tag_list+=("$registry/$docker_repo":"$image_tag")
204217
done

0 commit comments

Comments
 (0)