Skip to content

Commit

Permalink
handle pushing to osg-htc in osg-24 and opensciencegrid in osg-23
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphall committed Nov 1, 2024
1 parent a4f3425 commit 042bada
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/release-series-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:
osg_series:
- name: '23'
os: 'el9'
- name: '24'
os: 'el9'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -109,6 +111,8 @@ jobs:
osg_series:
- name: '23'
os: 'el9'
- name: '24'
os: 'el9'
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -177,6 +181,10 @@ jobs:
osg_series:
- name: '23'
os: 'el9'
organization: 'opensciencegrid'
- name: '24'
os: 'el9'
organization: 'osg-htc'
needs: [make-date-tag, test-stash-cache]
runs-on: ubuntu-latest
steps:
Expand All @@ -194,11 +202,16 @@ jobs:
REPO: ${{ matrix.repo }}
SERIES: ${{ matrix.osg_series.name }}
IMAGE: ${{ matrix.image }}
ORGANIZATION: ${{ matrix.osg_series.organization }}
TIMESTAMP: ${{ needs.make-date-tag.outputs.dtag }}
run: |
docker_repo=opensciencegrid/$IMAGE
docker_repo=$ORGANIZATION/$IMAGE
tag_list=()
for registry in hub.opensciencegrid.org docker.io; do
# osg-htc org doesn't exist in docker.io
if [[ "$registry" == "docker.io" && "$ORGANIZATION" == "osg-htc" ]]; then
continue
fi
for image_tag in "$SERIES-$REPO" "$SERIES-$REPO-$TIMESTAMP"; do
tag_list+=("$registry/$docker_repo":"$image_tag")
done
Expand Down

0 comments on commit 042bada

Please sign in to comment.