From d07fa2b3f8a44c32f72c618c96794bbd44984871 Mon Sep 17 00:00:00 2001 From: Garris Date: Fri, 29 Dec 2023 10:45:10 -0800 Subject: [PATCH] GH Tests WIP --- .github/workflows/backstop-sanity-docker.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/backstop-sanity-docker.yml b/.github/workflows/backstop-sanity-docker.yml index 13e6f0025..a26579828 100644 --- a/.github/workflows/backstop-sanity-docker.yml +++ b/.github/workflows/backstop-sanity-docker.yml @@ -33,6 +33,12 @@ jobs: fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Set Name and Tag Vars env: name: "${{ env.BRANCH_NAME }}" @@ -42,14 +48,6 @@ jobs: echo "PV=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV echo "PLAYWRIGHT_VERSION=$(cat package.json | jq -r '.dependencies.playwright')" >> $GITHUB_ENV - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: ⬢ Setup Node & Cache uses: actions/setup-node@v4 with: