Skip to content

Commit 50dd4c9

Browse files
committed
ci: github: Align docker image to zpc
This is a workaround, to allow other related developements (in other repos not forks). To be reverted once everything agregrated in the upstream. Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#2 Origin: SiliconLabsSoftware#89 Signed-off-by: Philippe Coval <[email protected]>
1 parent 1aedae8 commit 50dd4c9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ on: # yamllint disable-line rule:truthy
1212
- completed
1313
jobs:
1414
test:
15+
env:
16+
project-name: z-wave-protocol-controller # Align to docker (lowercase)
1517
runs-on: ubuntu-24.04
1618
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1719
steps:
1820
- name: Download image
1921
uses: ishworkh/[email protected]
2022
with:
21-
image: "${{ github.event.repository.name }}:latest"
23+
image: "${{ env.project-name }}:latest"
2224
workflow: "build"
2325
token: ${{ secrets.GH_SL_ACCESS_TOKEN }}
2426
workflow_run_id: ${{ github.event.workflow_run.id }}
@@ -55,7 +57,7 @@ jobs:
5557
run: |
5658
set -x
5759
export ZPC_RUN_MODE="docker"
58-
export ZPC_COMMAND="docker run ${{ github.event.repository.name }}"
60+
export ZPC_COMMAND="docker run ${{ env.project-name }}"
5961
$ZPC_COMMAND --version
6062
docker-compose pull
6163
export ZPC_COMMAND="docker-compose up --abort-on-container-exit"

0 commit comments

Comments
 (0)