Use azure/docker-login action (#2580)

This commit is contained in:
Nikita Salnikov-Tarnovski 2021-03-16 11:04:50 +02:00 committed by GitHub
parent c03c800bad
commit 150b52ca19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -59,8 +59,11 @@ jobs:
job-id: matrix-smoke
- name: Login to GitHub Package Registry
#TODO replace with docker-login action when https://github.com/docker/login-action/issues/47
run: echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
uses: azure/docker-login@v1
with:
login-server: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build Docker Image
run: |