Skip to content

Commit 710bb10

Browse files
authored
fix(ci): use dockerhub variable instead (#509)
1 parent 9235087 commit 710bb10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Login to DockerHub
7272
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
7373
with:
74-
username: ${{ secrets.DOCKERHUB_USERNAME }}
74+
username: ${{ vars.DOCKERHUB_USERNAME }}
7575
password: ${{ secrets.DOCKERHUB_TOKEN }}
7676

7777
- name: Login to GitHub Container Registry
@@ -168,7 +168,7 @@ jobs:
168168
- name: Login to DockerHub
169169
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 #v3.5.0
170170
with:
171-
username: ${{ secrets.DOCKERHUB_USERNAME }}
171+
username: ${{ vars.DOCKERHUB_USERNAME }}
172172
password: ${{ secrets.DOCKERHUB_TOKEN }}
173173

174174
- name: Login to GitHub Container Registry

.github/workflows/dockerhub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- name: Docker Hub Description
1919
uses: peter-evans/dockerhub-description@432a30c9e07499fd01da9f8a49f0faf9e0ca5b77 #v4.0.2
2020
with:
21-
username: ${{ secrets.DOCKERHUB_USERNAME }}
21+
username: ${{ vars.DOCKERHUB_USERNAME }}
2222
password: ${{ secrets.DOCKERHUB_TOKEN }}
2323
short-description: ${{ github.event.repository.description }}

0 commit comments

Comments
 (0)