Skip to content

Commit

Permalink
fix: docker images naming in shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkoSagadin committed Jul 9, 2024
1 parent a225ace commit 0714391
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vanilla-zephyr/build_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ docker build \
--build-arg "ZEPHYR_VERSION=$ZEPHYR_VERSION" \
--build-arg "MCUBOOT_VERSION=$MCUBOOT_VERSION" \
-f "Dockerfile.ci" \
-t "irnas/vanilla-zephyr-ci-$ZEPHYR_VERSION:latest" .
-t "irnas/vanilla-zephyr-$ZEPHYR_VERSION-ci:latest" .
4 changes: 2 additions & 2 deletions vanilla-zephyr/build_dev.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#! /usr/bin/env bash
ZEPHYR_VERSION=v3.6.0
MCUBOOT_VERSION=a4eda30f5b0cfd0cf15512be9dcd559239dbfc91
BASE_IMAGE="irnas/vanilla-zephyr-ci-$ZEPHYR_VERSION:latest"
BASE_IMAGE="irnas/vanilla-zephyr-$ZEPHYR_VERSION-ci:latest"

docker build \
--build-arg "ZEPHYR_VERSION=$ZEPHYR_VERSION" \
--build-arg "MCUBOOT_VERSION=$MCUBOOT_VERSION" \
--build-arg "BASE_IMAGE=$BASE_IMAGE" \
-f "Dockerfile.dev" \
-t "irnas/vanilla-zephyr-dev-$ZEPHYR_VERSION:latest" .
-t "irnas/vanilla-zephyr-$ZEPHYR_VERSION-dev:latest" .
2 changes: 1 addition & 1 deletion vanilla-zephyr/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ docker run -it \
--volume "${1}":/home/user/workdir \
--volume /dev:/dev \
--device-cgroup-rule='c 166:* rmw' \
irnas/vanilla-zephyr-dev-v3.6.0:latest
irnas/vanilla-zephyr-v3.6.0-dev:latest

0 comments on commit 0714391

Please sign in to comment.