From 44efb24d0385b99e2b6a8bc927a99103a20de944 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 10 Nov 2021 21:49:41 +0100 Subject: [PATCH] add docker login --- .github/workflows/build.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3997ce34..e5e1c323 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,18 +10,29 @@ jobs: runs-on: ubuntu-latest steps: - - name: checkout + - + name: checkout uses: actions/checkout@v2 - - name: set up QEMU + - + name: set up QEMU uses: docker/setup-qemu-action@v1 - - name: set up buildx + - + name: set up buildx id: buildx uses: docker/setup-buildx-action@v1 with: buildkitd-flags: --debug - - name: platforms + - + name: platforms run: echo ${{ steps.buildx.outputs.platforms }} - - name: build + - + name: login to docker hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: build run: cd contrib/docker && ./build.sh release # - name: configure and build # run: ./make_debian.sh