From 59aa978ebdd687c830de54820ae4e1764945c63a Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 29 Jan 2021 10:45:11 +0000 Subject: [PATCH] adding docker login command --- .github/workflows/budibase_ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index ccbfa3ae24..171780a058 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -38,7 +38,9 @@ jobs: - name: Build and Push Staging Docker Image # Only run on push if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - run: yarn build:staging:docker + run: | + docker login -u $DOCKER_USER -p $DOCKER_PASSWORD + yarn build:staging:docker env: DOCKER_USER: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}