Skip to content

Commit ff24da1

Browse files
committed
fix(ci): move login action
Signed-off-by: Adrien <adrien@huggingface.co>
1 parent e84eed2 commit ff24da1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v4
1212

13+
- name: Login to Registry
14+
uses: docker/login-action@v3
15+
with:
16+
username: ${{ secrets.DOCKERHUB_PASSWORD }}
17+
password: ${{ secrets.DOCKERHUB_USERNAME }}
18+
1319
- name: Docker metadata
1420
id: meta
1521
uses: docker/metadata-action@v5
@@ -23,12 +29,6 @@ jobs:
2329
- name: Set up Docker Buildx
2430
uses: docker/setup-buildx-action@v3
2531

26-
- name: Login to Registry
27-
uses: docker/login-action@v3
28-
with:
29-
username: ${{ secrets.DOCKERHUB_PASSWORD }}
30-
password: ${{ secrets.DOCKERHUB_USERNAME }}
31-
3232
- name: Build and Publish HuggingChat image
3333
uses: docker/build-push-action@v5
3434
with:

0 commit comments

Comments
 (0)