Skip to content

Commit

Permalink
fix: fix error on ci workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
MoigeMatino committed Nov 18, 2024
1 parent e70b10d commit cd11979
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,15 @@ jobs:
needs: build-and-test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'

steps:
- name: Checkout code
- name: Checkout code
uses: actions/checkout@v4

- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin


- name: Tag and push Docker image
run: |
docker tag my-fastapi-app ${{ secrets.DOCKER_HUB_USERNAME }}/my-fastapi-app:latest
Expand Down

0 comments on commit cd11979

Please sign in to comment.