Skip to content

Commit b915d1d

Browse files
fixed build-&-publish-docker-image.yml
1 parent bb4a3ab commit b915d1d

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/build-&-publish-docker-image.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ jobs:
5555
- name: Set up Docker Buildx
5656
uses: docker/setup-buildx-action@v3
5757

58-
# - name: Login to Docker Hub
59-
# uses: docker/login-action@v1
60-
# with:
61-
# username: ${{ secrets.DOCKERHUB_USERNAME }}
62-
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
58+
- name: Login to Docker Hub
59+
uses: docker/login-action@v1
60+
with:
61+
username: ${{ secrets.DOCKERHUB_USERNAME }}
62+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
6363

6464
# - name: Get changed files using defaults
6565
# id: changed-files
@@ -123,18 +123,19 @@ jobs:
123123
# with:
124124
# go-version: ^1.21 # The Go version to download (if necessary) and use.
125125

126+
- name: Login to Docker Hub
127+
uses: docker/login-action@v1
128+
with:
129+
username: ${{ secrets.DOCKERHUB_USERNAME }}
130+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
131+
126132
- name: Clone blobber
127133
uses: actions/checkout@v3
128134
with:
129135
fetch-depth: 0
130136

131137
- name: Set up Docker Buildx
132138
uses: docker/setup-buildx-action@v3
133-
- name: Login to Docker Hub
134-
uses: docker/login-action@v1
135-
with:
136-
username: ${{ secrets.DOCKERHUB_USERNAME }}
137-
password: ${{ secrets.DOCKERHUB_PASSWORD }}
138139

139140
# - name: Get changed files using defaults
140141
# id: changed-files

0 commit comments

Comments
 (0)