Docker login: use PAT instead login

This commit is contained in:
Sergey Shorokhov 2024-09-24 02:11:53 +03:00
parent 321b2196c9
commit a30bb340ec

View File

@ -40,7 +40,7 @@ jobs:
uses: docker/login-action@v3.3.0 uses: docker/login-action@v3.3.0
with: with:
username: ${{ vars.DOCKER_USERNAME }} username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PERSONAL_ACCESS_TOKEN }}
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v6.7.0 uses: docker/build-push-action@v6.7.0