Skip to content

Commit

Permalink
fix: use git commit id for bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Nov 10, 2024
1 parent 8010912 commit 08ace50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/build
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ fi

# We use the git hash of the main remote to ensure that we bump only when necessary.
git remote update
docker build --build-arg UID=`id -u` --build-arg GID=`id -g` --build-arg BUMP=`git diff origin/main | md5sum | sed -E 's/\s+-//'` --build-arg MAX_CPU=$MAX_CPU --build-arg MAX_GPU=$MAX_GPU . --tag `whoami`/fishsense-lite
docker build --build-arg UID=`id -u` --build-arg GID=`id -g` --build-arg BUMP=`git rev-parse HEAD` --build-arg MAX_CPU=$MAX_CPU --build-arg MAX_GPU=$MAX_GPU . --tag `whoami`/fishsense-lite

0 comments on commit 08ace50

Please sign in to comment.