From bb4358bf7d0bc2e8ced72f98fb92b687634eb06c Mon Sep 17 00:00:00 2001 From: Illia Vysochyn Date: Thu, 4 Jul 2024 11:00:38 +0200 Subject: [PATCH] [#61287] etc: DockerHelper.sh: Update help message Fixes 'test-installer' workflow by specifying proper tag. Signed-off-by: Illia Vysochyn --- .github/workflows/github-actions-cron-test-installer.yml | 4 ++-- etc/DockerHelper.sh | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-actions-cron-test-installer.yml b/.github/workflows/github-actions-cron-test-installer.yml index 01070ee586..b2564f5db2 100644 --- a/.github/workflows/github-actions-cron-test-installer.yml +++ b/.github/workflows/github-actions-cron-test-installer.yml @@ -45,10 +45,10 @@ jobs: sudo service docker restart - name: Run installer run: | - ./etc/DockerHelper.sh create -target=dev -os=${{ matrix.os }} + ./etc/DockerHelper.sh create -target=dev -os=${{ matrix.os }} -tag=latest - name: Build project run: | - ./etc/DockerHelper.sh create -target=builder -os=${{ matrix.os }} + ./etc/DockerHelper.sh create -target=builder -os=${{ matrix.os }} -tag=latest - name: Test build run: | cmd="source ./env.sh ; yosys -help ; openroad -help ; make -C flow ;" diff --git a/etc/DockerHelper.sh b/etc/DockerHelper.sh index 5dc7d9e8f3..3bd76289a5 100755 --- a/etc/DockerHelper.sh +++ b/etc/DockerHelper.sh @@ -24,8 +24,7 @@ usage: $0 [CMD] [OPTIONS] 'builder': os + packages to compile app + copy source code and build app -threads Max number of threads to use if compiling. - -sha Use git commit sha as the tag image. Default is - 'latest'. + -tag Use as the image tag. Default is git commit sha. -ci Install CI tools in image -h -help Show this message and exits -username Docker Username