File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 20
20
21
21
build :
22
22
runs-on : ubuntu-latest
23
- if : startsWith(github.repository, 'opensciencegrid/')
23
+ if : startsWith(github.repository, 'opensciencegrid/') || startsWith(github.repository, 'osg-htc/')
24
24
strategy :
25
25
fail-fast : False
26
26
matrix :
@@ -45,10 +45,12 @@ jobs:
45
45
SERIES : ${{ matrix.series }}
46
46
TIMESTAMP : ${{ needs.make-date-tag.outputs.dtag }}
47
47
run : |
48
- docker_repo =${GITHUB_REPOSITORY/opensciencegrid\/docker-/opensciencegrid /}
48
+ image_name =${GITHUB_REPOSITORY/opensciencegrid\/docker-/}
49
49
tags=()
50
50
for registry in hub.opensciencegrid.org docker.io; do
51
- tags+=( $registry/$docker_repo:$SERIES-$BASE_STR-$REPO{,-$TIMESTAMP} )
51
+ for docker_repo in opensciencegrid osg-htc; do
52
+ tags+=( $registry/$docker_repo/$image_name:$SERIES-$BASE_STR-$REPO{,-$TIMESTAMP} )
53
+ done
52
54
done
53
55
# This causes the tag_list array to be comma-separated below,
54
56
# which is required for build-push-action
73
75
74
76
- name : Build and push Docker images
75
77
uses : docker/build-push-action@v4
76
- continue-on-error : ${{ matrix.repo == 'development' && matrix.series == '23' }}
78
+ continue-on-error : ${{ matrix.repo == 'development' && ( matrix.series == '24') }}
77
79
with :
78
80
context : .
79
81
push : true
86
88
87
89
dispatch :
88
90
runs-on : ubuntu-latest
89
- if : startsWith(github.repository, 'opensciencegrid/')
91
+ if : startsWith(github.repository, 'opensciencegrid/') || startsWith(github.repository, 'osg-htc/')
90
92
needs : build
91
93
strategy :
92
94
matrix :
You can’t perform that action at this time.
0 commit comments