Skip to content

Commit ebbdc1a

Browse files
Fix upload url issue (#334)
* Pass the upload url from the calling workflow to the reusable workflow.
1 parent 5b4f4e5 commit ebbdc1a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ jobs:
66
push_to_dockerhub:
77
strategy:
88
matrix:
9-
image:
10-
- {folder: ., dockerhub_name: nia-nhais-adaptor}
9+
config:
10+
- folder: .
11+
dockerhub_name: nia-nhais-adaptor
12+
upload_url: ${{ github.event.release.upload_url }}
13+
1114
uses: NHSDigital/integration-adaptor-actions/.github/workflows/release-adaptor-container-image.yml@main
1215
with:
13-
dockerhub_name: ${{matrix.image.dockerhub_name}}
14-
folder: ${{matrix.image.folder}}
16+
dockerhub_name: ${{matrix.config.dockerhub_name}}
17+
folder: ${{matrix.config.folder}}
18+
upload_url: ${{matrix.config.upload_url}}
1519

16-
secrets: inherit
20+
secrets: inherit

0 commit comments

Comments
 (0)