Use azure/docker-login action
MODIFY
.github/workflows/build-test-matrix.yaml
.github/workflows/build-test-matrix.yaml
@@ -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: |

Use azure/docker-login action (#2580)