From f875c7a6215104545e0af38b780d21b4d322d0e0 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Wed, 13 Sep 2023 22:36:39 -0500 Subject: [PATCH] [CI] Moved docker login in front of `Build images` --- .github/actions/build-images/action.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/actions/build-images/action.yml b/.github/actions/build-images/action.yml index 71c73f0023..36dfba611d 100644 --- a/.github/actions/build-images/action.yml +++ b/.github/actions/build-images/action.yml @@ -17,18 +17,19 @@ runs: uses: jvalkeal/build-zoo-handler@v0.0.4 with: pack-version: 0.30.0 - - name: Build Images - env: - TAG: ${{ inputs.version }} - shell: bash - run: .github/actions/build-images/pack-images.sh - # docker hub login + # docker hub login - uses: docker/login-action@v1 with: username: ${{ inputs.dockerhub-username }} password: ${{ inputs.dockerhub-password }} + - name: Build Images + env: + TAG: ${{ inputs.version }} + shell: bash + run: .github/actions/build-images/pack-images.sh + # push images - name: Push images env: