Skip to content

Commit

Permalink
fix(scripts): Export variables in docker_build.sh again
Browse files Browse the repository at this point in the history
This is a fixup for ae16d01. It somewhat takes the long way around,
reading the variables from `versions.dockerfile` just to pass them in as
build arguments again, but this is the least intrusive fix.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed May 23, 2024
1 parent eef3dac commit bffec69
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ DOCKER_IMAGE_ROOT="${DOCKER_IMAGE_ROOT:-ghcr.io/oss-review-toolkit}"

echo "Setting ORT_VERSION to $ORT_VERSION."

# shellcheck disable=SC2046
export $(sed "s/^ARG //" "$GIT_ROOT/docker/versions.dockerfile" | xargs)

# ---------------------------
# image_build function
# Usage ( position parameters):
Expand Down

0 comments on commit bffec69

Please sign in to comment.