Skip to content

Commit e6b7e7b

Browse files
committed
Vars for username
1 parent 0df55d1 commit e6b7e7b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-image.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Log in to Docker Hub
2828
uses: docker/login-action@v3
2929
with:
30-
username: ${{ secrets.DOCKERHUB_USERNAME }}
30+
username: ${{ vars.DOCKERHUB_USERNAME }}
3131
password: ${{ secrets.DOCKERHUB_TOKEN }}
3232
- name: Build and Push AMD64
3333
run: |
@@ -45,7 +45,7 @@ jobs:
4545
- name: Log in to Docker Hub
4646
uses: docker/login-action@v3
4747
with:
48-
username: ${{ secrets.DOCKERHUB_USERNAME }}
48+
username: ${{ vars.DOCKERHUB_USERNAME }}
4949
password: ${{ secrets.DOCKERHUB_TOKEN }}
5050
- name: Build and Push ARM64
5151
run: |
@@ -64,7 +64,7 @@ jobs:
6464
- name: Log in to Docker Hub
6565
uses: docker/login-action@v3
6666
with:
67-
username: ${{ secrets.DOCKERHUB_USERNAME }}
67+
username: ${{ vars.DOCKERHUB_USERNAME }}
6868
password: ${{ secrets.DOCKERHUB_TOKEN }}
6969
- name: Download Artifacts
7070
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)