diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index f43e5809da..158cb6d618 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -70,6 +70,10 @@ jobs: echo "postfix=staging" >> $GITHUB_ENV fi + build_and_push: + needs: [setup] + runs-on: ubuntu-latest + steps: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: @@ -80,10 +84,6 @@ jobs: role-duration-seconds: 1200 role-session-name: SageECRPushSession - build_and_push: - needs: [setup] - runs-on: ubuntu-latest - steps: - name: Login to Amazon ECR id: login-ecr uses: aws-actions/amazon-ecr-login@v2