Use azure/docker-login action (#2580)
This commit is contained in:
parent
c03c800bad
commit
150b52ca19
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue