Use azure/docker-login action (#2580)
This commit is contained in:
parent
c03c800bad
commit
150b52ca19
|
@ -59,8 +59,11 @@ jobs:
|
||||||
job-id: matrix-smoke
|
job-id: matrix-smoke
|
||||||
|
|
||||||
- name: Login to GitHub Package Registry
|
- name: Login to GitHub Package Registry
|
||||||
#TODO replace with docker-login action when https://github.com/docker/login-action/issues/47
|
uses: azure/docker-login@v1
|
||||||
run: echo ${{ secrets.GHCR_TOKEN }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
|
with:
|
||||||
|
login-server: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.GHCR_TOKEN }}
|
||||||
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue