Skip to content

Commit c9052e9

Browse files
committed
Try sudo docker login in push step.
1 parent 473c4a5 commit c9052e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/basket-api.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
- name: Compose push ${{ env.image }}
7979
run: |
8080
docker images
81+
echo ${{ secrets.PASSWORD }} | sudo docker login -u ${{ secrets.USERNAME }} --password-stdin
8182
sudo -E docker-compose push ${{ env.services }}
8283
working-directory: ./src
8384
shell: bash

0 commit comments

Comments
 (0)