@@ -29,23 +29,16 @@ jobs:
2929 repo : ['development', 'testing', 'release']
3030 image : ['hosted-ce', 'osg-ce-condor']
3131 osg_series :
32- - name : ' 23'
33- os : ' el9'
34- project : ' opensciencegrid'
3532 - name : ' 24'
3633 os : ' el9'
3734 project : ' osg-htc'
35+ - name : ' 25'
36+ os : ' el9'
37+ project : ' osg-htc'
3838 steps :
3939
4040 - uses : actions/checkout@v3
4141
42- - name : Log in to Docker Hub
43- uses : docker/login-action@v2.2.0
44- if : github.event_name != 'pull_request' && startsWith(github.repository, 'opensciencegrid/')
45- with :
46- username : ${{ secrets.DOCKER_USERNAME }}
47- password : ${{ secrets.DOCKER_PASSWORD }}
48-
4942 - name : Log in to OSG Harbor
5043 uses : docker/login-action@v2.2.0
5144 if : github.event_name != 'pull_request' && startsWith(github.repository, 'opensciencegrid/')
7669 run : |
7770 docker_repo=$PROJECT/$IMAGE
7871 tag_list=()
79- for registry in hub.opensciencegrid.org docker.io; do
80- if [[ $registry == 'docker.io' && $PROJECT == 'osg-htc' ]]; then
81- continue
82- fi
83- for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$TIMESTAMP"; do
84- tag_list+=("$registry/$docker_repo":"$image_tag")
85- done
72+ registry=hub.opensciencegrid.org
73+ for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$TIMESTAMP"; do
74+ tag_list+=("$registry/$docker_repo":"$image_tag")
8675 done
8776 # This causes the tag_list array to be comma-separated below,
8877 # which is required for build-push-action
9483 with :
9584 driver : docker # If not set to docker driver, it will default to docker-container
9685 # when using load for the build-push-action.
97-
86+
9887 - name : Build and push hosted-ce and osg-ce-condor images
9988 uses : docker/build-push-action@v4
10089 with :
0 commit comments