From 91517be3d87d7d43494541e326bb6dbf0c7cccaf Mon Sep 17 00:00:00 2001 From: deyvisonborges Date: Tue, 23 Apr 2024 10:40:55 -0300 Subject: [PATCH] #008 - adjusts on workflow --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6eec39f..f8c7948 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -54,5 +54,5 @@ jobs: - name: Build and push Docker image run: | docker build -t ${{ github.repository }}:${{ github.sha }} . - docker login -u ${{ secrets.DOCKERHUB_USERNAME}} -p ${{ secrets.DOCKERHUB_TOKEN}} + docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin ${{ secrets.DOCKERHUB_TOKEN }} docker push ${{ github.repository }}:${{ github.sha }}