Skip to content

Commit 7174122

Browse files
committed
Updated to use vars for docker hub user
1 parent 91ceae0 commit 7174122

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
- name: Login to DockerHub
153153
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
154154
with:
155-
username: ${{ secrets.DOCKERHUB_USERNAME }}
155+
username: ${{ vars.DOCKERHUB_USERNAME }}
156156
password: ${{ secrets.DOCKERHUB_TOKEN }}
157157

158158
- name: Push OCI image tags

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
- name: Login to DockerHub
161161
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
162162
with:
163-
username: ${{ secrets.DOCKERHUB_USERNAME }}
163+
username: ${{ vars.DOCKERHUB_USERNAME }}
164164
password: ${{ secrets.DOCKERHUB_TOKEN }}
165165

166166
- name: Push OCI image tags
@@ -230,7 +230,7 @@ jobs:
230230
- name: Update Docker repository description
231231
uses: peter-evans/dockerhub-description@93b93397c27ed52b4055b8c6b2f8d92456ab3c56 # v3.1.2
232232
with:
233-
username: ${{ secrets.DOCKERHUB_USERNAME }}
233+
username: ${{ vars.DOCKERHUB_USERNAME }}
234234
password: ${{ secrets.DOCKERHUB_TOKEN }}
235235
repository: ${{ github.repository }}
236236

0 commit comments

Comments
 (0)