From 1f9c63b5d12d9f19a66bdee5f059c5347f64883c Mon Sep 17 00:00:00 2001 From: Matyas Selmeci Date: Tue, 17 Feb 2026 15:02:09 -0600 Subject: [PATCH] Stop building OSG 23 images Since OSG 24+ images are not pushed to Docker Hub, also remove code for pushing to Docker Hub. --- .github/workflows/release-series-images.yml | 22 ++++----------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release-series-images.yml b/.github/workflows/release-series-images.yml index 2e54dd2..d8069fe 100644 --- a/.github/workflows/release-series-images.yml +++ b/.github/workflows/release-series-images.yml @@ -29,9 +29,6 @@ jobs: repo: ['development', 'testing', 'release'] image: ['hosted-ce', 'osg-ce-condor'] osg_series: - - name: '23' - os: 'el9' - project: 'opensciencegrid' - name: '24' os: 'el9' project: 'osg-htc' @@ -39,13 +36,6 @@ jobs: - uses: actions/checkout@v3 - - name: Log in to Docker Hub - uses: docker/login-action@v2.2.0 - if: github.event_name != 'pull_request' && startsWith(github.repository, 'opensciencegrid/') - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Log in to OSG Harbor uses: docker/login-action@v2.2.0 if: github.event_name != 'pull_request' && startsWith(github.repository, 'opensciencegrid/') @@ -76,13 +66,9 @@ jobs: run: | docker_repo=$PROJECT/$IMAGE tag_list=() - for registry in hub.opensciencegrid.org docker.io; do - if [[ $registry == 'docker.io' && $PROJECT == 'osg-htc' ]]; then - continue - fi - for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$TIMESTAMP"; do - tag_list+=("$registry/$docker_repo":"$image_tag") - done + registry=hub.opensciencegrid.org + for image_tag in "$OSG_SERIES-$REPO" "$OSG_SERIES-$REPO-$TIMESTAMP"; do + tag_list+=("$registry/$docker_repo":"$image_tag") done # This causes the tag_list array to be comma-separated below, # which is required for build-push-action @@ -94,7 +80,7 @@ jobs: with: driver: docker # If not set to docker driver, it will default to docker-container # when using load for the build-push-action. - + - name: Build and push hosted-ce and osg-ce-condor images uses: docker/build-push-action@v4 with: