Skip to content

Commit 473c4a5

Browse files
committed
Change docker login step.
1 parent 669accc commit 473c4a5

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/basket-api.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@ jobs:
4747
- name: 'Checkout Github Action'
4848
uses: actions/checkout@master
4949

50-
- name: Login to Container Registry
51-
uses: docker/login-action@v1
52-
with:
53-
registry:
54-
username: ${{ secrets.USERNAME }}
55-
password: ${{ secrets.PASSWORD }}
50+
# - name: Login to Container Registry
51+
# uses: docker/login-action@v1
52+
# with:
53+
# registry:
54+
# username: ${{ secrets.USERNAME }}
55+
# password: ${{ secrets.PASSWORD }}
56+
- name: Login to DockerHub Registry
57+
run: echo ${{ secrets.PASSWORD }} | sudo docker login -u ${{ secrets.USERNAME }} --password-stdin
58+
shell: bash
5659

5760
- name: Get branch name
5861
run: |

0 commit comments

Comments
 (0)