Skip to content

Commit

Permalink
fix(ci): move login action
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien <adrien@huggingface.co>
  • Loading branch information
XciD committed Jul 9, 2024
1 parent e84eed2 commit ff24da1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Login to Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_PASSWORD }}
password: ${{ secrets.DOCKERHUB_USERNAME }}

- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
Expand All @@ -23,12 +29,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_PASSWORD }}
password: ${{ secrets.DOCKERHUB_USERNAME }}

- name: Build and Publish HuggingChat image
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit ff24da1

Please sign in to comment.