Skip to content

Commit

Permalink
Update presubmit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Dec 11, 2023
1 parent c175a49 commit 5f56bf4
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions scripts/presubmit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,9 @@ main() {
./...
fi

if [[ "${build_actions}" -eq 1 ]]; then
echo "Building serverless actions =================================="
for i in $(find serverless/deploy/github -name Dockerfile); do
echo "Building ${i} ------------------------------------------------"
docker build -f "${i}" "$(dirname ${i})"
done
fi

if [[ "${build_docker}" -eq 1 ]]; then
echo "Building non-serverless-action dockerfiles ===================="
for i in $(find . -name Dockerfile -not -path './serverless/deploy/github/*' ); do
for i in $(find . -name Dockerfile ); do
echo "Building ${i} ------------------------------------------------"
docker build -f "${i}" .
done
Expand Down

0 comments on commit 5f56bf4

Please sign in to comment.