I have below folder structure in my GitHub repository.
docker
serverless
dotnet
2.1
Dockerfile
3.1
Dockerfile
python
3.8
Dockerfile
Now I have automate the build and push to ECR using github-actions.
Is it possible using github-actions to traverse through each folder and trigger build?
I want if changes are pushed to
- 2.1
Dockerfilethe image should always be tagged with 2.1 tag and pushed to ECR
and
- If changes are in 3.1
Dockerfileit should always be tagged with 3.1 and pushed to ECR.
Any ideas on how to achieve this using github-actions?
from Github Actions Build - Push to ECR on Multiple Folders
No comments:
Post a Comment