@@ -93,11 +93,12 @@ jobs:
9393 path : ./artifacts/api-oas-specification-${{ inputs.version }}
9494 name : api-oas-specification-${{ inputs.version }}
9595
96- - name : " Get the artefacts 9"
97- uses : actions/download-artifact@v4
98- with :
99- path : ./artifacts/server-csharp-${{ inputs.version }}
100- name : server-csharp-${{ inputs.version }}
96+ # Take out for now - might add again in the future
97+ # - name: "Get the artefacts 9"
98+ # uses: actions/download-artifact@v4
99+ # with:
100+ # path: ./artifacts/server-csharp-${{ inputs.version }}
101+ # name: server-csharp-${{ inputs.version }}
101102
102103 - name : " Create release"
103104 id : create_release
@@ -222,48 +223,51 @@ jobs:
222223 asset_name : api-oas-specification-${{ inputs.version }}.zip
223224 asset_content_type : " application/gzip"
224225
225- - name : " zip csharp server release asset"
226- # Git hub pages needs a single tar called artifact inside the zip.
227- working-directory : ./artifacts/server-csharp-${{ inputs.version }}
228- run : zip -r ../server-csharp-${{ inputs.version }}.zip .
229- shell : bash
226+ # Take out for now - might add again in the future
227+ # - name: "zip csharp server release asset"
228+ # # Git hub pages needs a single tar called artifact inside the zip.
229+ # working-directory: ./artifacts/server-csharp-${{ inputs.version }}
230+ # run: zip -r ../server-csharp-${{ inputs.version }}.zip .
231+ # shell: bash
230232
231- - name : " Upload csharp server release asset"
232- uses : actions/upload-release-asset@v1
233- env :
234- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
235- with :
236- upload_url : " ${{ steps.create_release.outputs.upload_url }}"
237- asset_path : ./artifacts/server-csharp-${{ inputs.version }}.zip
238- asset_name : server-csharp-${{ inputs.version }}.zip
239- asset_content_type : " application/gzip"
233+ # Take out for now - might add again in the future
234+ # - name: "Upload csharp server release asset"
235+ # uses: actions/upload-release-asset@v1
236+ # env:
237+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
238+ # with:
239+ # upload_url: "${{ steps.create_release.outputs.upload_url }}"
240+ # asset_path: ./artifacts/server-csharp-${{ inputs.version }}.zip
241+ # asset_name: server-csharp-${{ inputs.version }}.zip
242+ # asset_content_type: "application/gzip"
240243
241- # ## PUBLISH DOCKER - THIS NEEDS CHANGING TO DO THE DOCKER BUILD IN THE BUILD STAGE AND ARTIFACT IT. SEE publishlibhostdocker below how how and the buildlibs action.
242- publishdocker :
243- name : " Publish docker packages"
244- runs-on : ubuntu-latest
245- needs : [publish]
246- permissions :
247- packages : write
248- contents : read
249- steps :
250- - name : " Get the artefacts csharp docker"
251- uses : actions/download-artifact@v4
252- with :
253- path : .
254- name : server-csharp-docker-${{ inputs.version }}
255- - name : " Get the artefacts csharp server"
256- uses : actions/download-artifact@v4
257- with :
258- path : ./csharp-server
259- name : server-csharp-${{ inputs.version }}
260- - run : ls -la
261- - run : |
262- docker build . -t ghcr.io/nhsdigital/nhsnotifysupplierserver:latest
263- echo $CR_PAT | docker login ghcr.io -u nhs-notify-supplier-api --password-stdin
264- docker push ghcr.io/nhsdigital/nhsnotifysupplierserver:latest
265- env:
266- CR_PAT: ${{ secrets.GITHUB_TOKEN }}
244+ # Take out for now - might add again in the future
245+ # ### PUBLISH DOCKER - THIS NEEDS CHANGING TO DO THE DOCKER BUILD IN THE BUILD STAGE AND ARTIFACT IT. SEE publishlibhostdocker below how how and the buildlibs action.
246+ # publishdocker:
247+ # name: "Publish docker packages"
248+ # runs-on: ubuntu-latest
249+ # needs: [publish]
250+ # permissions:
251+ # packages: write
252+ # contents: read
253+ # steps:
254+ # - name: "Get the artefacts csharp docker"
255+ # uses: actions/download-artifact@v4
256+ # with:
257+ # path: .
258+ # name: server-csharp-docker-${{ inputs.version }}
259+ # - name: "Get the artefacts csharp server"
260+ # uses: actions/download-artifact@v4
261+ # with:
262+ # path: ./csharp-server
263+ # name: server-csharp-${{ inputs.version }}
264+ # - run: ls -la
265+ # - run: |
266+ # docker build . -t ghcr.io/nhsdigital/nhsnotifysupplierserver:latest
267+ # echo $CR_PAT | docker login ghcr.io -u nhs-notify-supplier-api --password-stdin
268+ # docker push ghcr.io/nhsdigital/nhsnotifysupplierserver:latest
269+ # env:
270+ # CR_PAT: ${{ secrets.GITHUB_TOKEN }}
267271
268272 # ## PUBLISH NUGET
269273 publishnuget :
0 commit comments