Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/validate-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
for dir in ${ALL_CHANGED_FILES}; do
echo "Change detected in $dir ..."
cd $dir
if [ ! -f config.env ]; then
if [ ! -f config.env ] && ([ -f Dockerfile ] || [ -f Containerfile ]); then
echo "No config.env file present in changed directory that contains image files. Throwing error ..."
exit 1
elif [ ! -f config.env ]; then
echo "No config.env file present in changed directory, skipping ..."
cd $BASE_DIR
continue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
FROM registry.access.redhat.com/ubi9/ubi-micro:9.4-9

# Can be substituted using the --build-arg defined above
ARG MODEL_URL=./detr-resnet-101
ARG MODEL_URL=./

# By default the Model Server container image uses the AI Model stored in the model/model.file file.
WORKDIR /model
Expand Down
File renamed without changes.
Loading