Add Docker support for local development (closes #2)#3
Conversation
|
Hi @ashhley04, The workflow is failing because the To fix this, we can conditionally skip the login step for pull request events. Example fix: - name: Log in to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} |
AryanSharma9917
left a comment
There was a problem hiding this comment.
You need to update the GitHub Actions workflow file to conditionally skip the Docker login step for pull request events.
@rakshitsharma0402 please review the PR and see the previous comments. Workflow is failing the reason being docker requires ID and pass so in the workflow what we can do is skip this part of checking the authentication and move ahead. |
|
Hello @AryanSharma9917,
Please review and let me know if any further adjustments are needed. |
|
LGTM! Thanks @ashhley04 for the contribution. |
Title:
Add Docker support and Prometheus metrics for FastAPI
Description:
This PR addresses Issue #2: Add Docker Support for Local Development.
Changes included:
Benefit:
How to test: