File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 workflow_call :
66 inputs :
77 image-name :
8- description : ' Container image name (e.g. my-app)'
8+ description : " Container image name (e.g. my-app)"
99 required : true
1010 type : string
1111 image-description :
12- description : ' Description used in OCI annotations'
12+ description : " Description used in OCI annotations"
1313 required : false
14- default : ' '
14+ default : " "
1515 type : string
1616 registry :
17- description : ' Container registry host (e.g. ghcr.io)'
17+ description : " Container registry host (e.g. ghcr.io)"
1818 required : false
19- default : ' ghcr.io'
19+ default : " ghcr.io"
2020 type : string
2121 repo-owner :
22- description : ' Owner/namespace for the image (defaults to calling repo owner)'
22+ description : " Owner/namespace for the image (defaults to calling repo owner)"
2323 required : false
24- default : ' '
24+ default : " "
2525 type : string
2626 context :
27- description : ' Build context passed to Docker (e.g. . or ./app)'
27+ description : " Build context passed to Docker (e.g. . or ./app)"
2828 required : false
29- default : ' . '
29+ default : " . "
3030 type : string
3131 dockerfile :
32- description : ' Relative path to Dockerfile'
32+ description : " Relative path to Dockerfile"
3333 required : false
34- default : ' Dockerfile'
34+ default : " Dockerfile"
3535 type : string
3636 platforms :
37- description : ' Target platforms for the image (comma-separated)'
37+ description : " Target platforms for the image (comma-separated)"
3838 required : false
39- default : ' linux/amd64,linux/arm64'
39+ default : " linux/amd64,linux/arm64"
4040 type : string
4141
4242env :
5656 steps :
5757 - name : Check out the repo
5858 uses : actions/checkout@v4
59+ with :
60+ fetch-depth : 0
5961
6062 - name : Set up QEMU
6163 uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
Original file line number Diff line number Diff line change 1919 release :
2020 uses : health-informatics-uon/workflows/.github/workflows/semantic-release.yml@1.4.0
2121 with :
22- node-version : ' 24 '
22+ node-version : " 24 "
2323 secrets : inherit
2424
2525 # PyPI trusted publishing (OIDC) cannot be used from within a reusable workflow.
@@ -37,10 +37,12 @@ jobs:
3737 id-token : write
3838 steps :
3939 - uses : actions/checkout@v4
40+ with :
41+ fetch-depth : 0
4042
4143 - uses : actions/setup-python@v5
4244 with :
43- python-version : ' 3.x'
45+ python-version : " 3.x"
4446
4547 - name : Build package
4648 run : |
You can’t perform that action at this time.
0 commit comments