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 }}