Skip to content

Commit a92cf98

Browse files
patrickelectricWilliangalvani
authored andcommitted
ci: test-and-deploy: Fix pimod version
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 6c8f443 commit a92cf98

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,17 +286,18 @@ jobs:
286286
# We use our own pimod as upstream doesn't provide armv7 images
287287
- name: Pimod Build
288288
run: |
289+
PIMOD_VERSION=v0.7.0
289290
VERSION=$GITHUB_REPOSITORY
290291
VERSION=${VERSION:-master}
291-
wget https://raw.githubusercontent.com//Nature40/pimod/master/pimod.sh && chmod +x pimod.sh
292+
wget https://raw.githubusercontent.com/Nature40/pimod/${PIMOD_VERSION}/pimod.sh && chmod +x pimod.sh
292293
docker run --rm --privileged \
293294
-v $PWD:/files \
294295
-e PATH=/pimod:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
295296
-e GITHUB_REPOSITORY=$GITHUB_REPOSITORY \
296297
-e VERSION=$GITHUB_REF_NAME \
297298
-e BASE_IMAGE=${{ matrix.image }} \
298299
--workdir=/files \
299-
--platform ${{ matrix.platform }} nature40/pimod:latest pimod.sh deploy/pimod/blueos.Pifile
300+
--platform ${{ matrix.platform }} nature40/pimod:${PIMOD_VERSION} pimod.sh deploy/pimod/blueos.Pifile
300301
301302
- name: Add /boot additions
302303
run: |

0 commit comments

Comments
 (0)