Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
update cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
tinn.nguyen committed Nov 2, 2023
1 parent 5f93d2d commit 28c3600
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ jobs:
ECR_REPOSITORY: ${{ secrets.AWS_DEV_ECR_REPOSITORY }}
IMAGE_TAG: ${{ github.sha }}
run: |
for dir in */; do
for dir in ./; do
dir=${dir%/}
if [ -f "$dir/Dockerfile" ]; then
cd $dir
echo "Building image in $dir"
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$dir-${IMAGE_TAG} .
cd -
fi
done

0 comments on commit 28c3600

Please sign in to comment.