Skip to content

Commit c7b4914

Browse files
committed
Added dockerhub login steps where needed
1 parent 01370a7 commit c7b4914

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/docker-stable.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15+
- name: Login to Docker Hub
16+
uses: docker/login-action@v3
17+
with:
18+
username: ${{ secrets.DOCKERHUB_USERNAME }}
19+
password: ${{ secrets.DOCKERHUB_TOKEN }}
20+
1521
- name: Build & Push Stable Docker
1622
uses: docker/build-push-action@v5
1723
with:

.github/workflows/pr-preview.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
body: comment
5252
})
5353
54+
- name: Login to Docker Hub
55+
uses: docker/login-action@v3
56+
with:
57+
username: ${{ secrets.DOCKERHUB_USERNAME }}
58+
password: ${{ secrets.DOCKERHUB_TOKEN }}
59+
5460
- name: Build & Push Docker Preview
5561
uses: docker/build-push-action@v5
5662
with:

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ jobs:
2323
with:
2424
password: ${{ secrets.PYPI_TOKEN }}
2525

26+
- name: Login to Docker Hub
27+
uses: docker/login-action@v3
28+
with:
29+
username: ${{ secrets.DOCKERHUB_USERNAME }}
30+
password: ${{ secrets.DOCKERHUB_TOKEN }}
31+
2632
- name: Build & Push Docker
2733
uses: docker/build-push-action@v5
2834
with:

0 commit comments

Comments
 (0)