Skip to content

Commit 079446b

Browse files
Robu6/dockerimage (#71)
* Adding libs examples. * Add libs action to build stage. * correct typo * run.sh assembly names. * secrets. * CCM-11007: Fixing log destination for Splunk forwarding (#58) * Robu6/libs nuget example (#57) * Adding libs examples. * Add libs action to build stage. * correct typo * run.sh assembly names. * rebased to main. * .... * <<< left in * Adding other example poc libs. * timeouts of actions increased to 10m from 3m. * version copy to abstract folder. * version file not in libs on github. * find .version and print on pub. * debugging in build. * include .version in libs - artifact hidden files. * correct data nuget package name. * Trying the docker actions. * Trying the docker actions. * Trying the docker actions. * Trying the docker actions. * Adding docker publish from artefact * Refactoring lib build * uploader docker rar as a filter * uploader docker rar as a filter publish folder location --------- Co-authored-by: sidnhs <[email protected]>
1 parent 989597b commit 079446b

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.github/actions/build-libraries/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ runs:
5555
- name: Set up Docker Buildx
5656
uses: docker/setup-buildx-action@v3
5757

58+
- run: mkdir -p ${{ runner.temp }}/myimage
59+
shell: bash
60+
5861
- name: Build and export
5962
uses: docker/build-push-action@v6
6063
with:
@@ -63,10 +66,10 @@ runs:
6366
tags: |
6467
ghcr.io/nhsdigital/libshostdocker:latest
6568
# ghcr.io/nhsdigital/libshostdocker:${{ inputs.version }}
66-
outputs: type=docker,dest=${{ runner.temp }}/myimage.tar
69+
outputs: type=docker,dest=${{ runner.temp }}/myimage/myimage.tar
6770

6871
- name: Upload artifact
6972
uses: actions/upload-artifact@v4
7073
with:
7174
name: libs-host-docker-${{ inputs.version }}
72-
path: ${{ runner.temp }}/myimage.tar
75+
path: ${{ runner.temp }}/myimage

.github/workflows/stage-5-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ jobs:
600600
name: libs-host-docker-${{ inputs.version }}
601601

602602
- run: |
603-
docker load --input ${{ runner.temp }}/myimage.tar
603+
docker load --input ${{ runner.temp }}/myimage/myimage.tar
604604
docker image ls -a
605605
echo $CR_PAT | docker login ghcr.io -u nhs-notify-supplier-api --password-stdin
606606
docker push ghcr.io/nhsdigital/libshostdocker:latest

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build: # Build the project artefact @Pipeline
1414
(cd server && make build)
1515
(cd sdk && make build)
1616
(cd docs && make build)
17-
(cd libs && make build)
17+
(cd src/server && make build)
1818
publish: # Publish the project artefact @Pipeline
1919
# TODO: Implement the artefact publishing step
2020

@@ -25,7 +25,7 @@ clean:: # Clean-up project resources (main) @Operations
2525
rm -f .version
2626
(cd sdk && make clean)
2727
(cd server && make clean)
28-
28+
(cd src/server && make clean)
2929
serve:
3030
npm run serve
3131

sdk/_config.version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 0.2.0-20250708.142731+ca74a4e
1+
version: 0.2.0-20250709.100804+10788f5

server/_config.version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 0.2.0-20250708.142722+ca74a4e
1+
version: 0.2.0-20250709.100758+10788f5

0 commit comments

Comments
 (0)