From 9c673d565058163f8af8dab31a3cc75f4b454c30 Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Sun, 29 May 2022 14:52:21 -0700 Subject: [PATCH] login to docker hub before publishing Signed-off-by: Avi Deitcher --- .github/workflows/publish.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 41226de57..8717f551d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -53,6 +53,11 @@ jobs: key: ${{ runner.os }}-linuxkit-${{ github.sha }} restore-keys: | ${{ runner.os }}-linuxkit- + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Publish Packages # this should only push changed ones: # - unchanged: already in the registry @@ -60,4 +65,3 @@ jobs: # Skip s390x as emulation is unreliable run: | make OPTIONS="--skip-platforms linux/s390x" -C pkg push PUSHOPTIONS="--nobuild" -