Skip to content

Commit

Permalink
Use azure/docker-login action (#2580)
Browse files Browse the repository at this point in the history
  • Loading branch information
iNikem authored Mar 16, 2021
1 parent c03c800 commit 150b52c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-test-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 150b52c

Please sign in to comment.