Skip to content

Commit b89f7d1

Browse files
committed
fix the workflow
1 parent e22e5d4 commit b89f7d1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/mlops_workflow.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ jobs:
5252
with:
5353
platforms: linux/arm64
5454

55+
- name: Log in to Docker Hub
56+
uses: docker/login-action@v3
57+
with:
58+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
59+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
5560
- name: Set up Docker
5661
uses: docker/setup-buildx-action@v3
5762
- name: Build Docker image
5863
run: |
5964
docker buildx create --use
6065
docker buildx inspect --bootstrap
61-
docker buildx build --platform linux/arm64 -t cinex10/codinsight:latest .
62-
- name: Log in to Docker Hub
63-
uses: docker/login-action@v3
64-
with:
65-
username: ${{ secrets.DOCKER_HUB_USERNAME }}
66-
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
66+
docker buildx build --platform linux/arm64 -t cinex10/codinsight:latest --push .
6767
- name: Push Docker image
6868
run: |
6969
docker push cinex10/codinsight:latest

0 commit comments

Comments
 (0)