Skip to content

Commit 3905ad6

Browse files
fix: docker auth
1 parent 72db10e commit 3905ad6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515

16+
- name: Log in to Docker Hub
17+
uses: docker/login-action@v3
18+
with:
19+
username: ${{ vars.DOCKERHUB_USERNAME }}
20+
password: ${{ secrets.DOCKERHUB_TOKEN }}
21+
1622
- name: Set up Bun
1723
uses: oven-sh/setup-bun@v2
1824
with:
@@ -42,12 +48,6 @@ jobs:
4248
type=raw,value=gh-${{ github.run_id }}
4349
type=sha,format=short
4450
45-
- name: Log in to Docker Hub
46-
uses: docker/login-action@v3
47-
with:
48-
username: ${{ vars.DOCKERHUB_USERNAME }}
49-
password: ${{ secrets.DOCKERHUB_TOKEN }}
50-
5151
- name: Build and push Docker image
5252
uses: docker/build-push-action@v6
5353
with:

0 commit comments

Comments
 (0)