From 14ace3c1c3378b3e7fff001be1d5cbb2df8b011e Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Fri, 11 Oct 2024 12:34:05 +0300 Subject: [PATCH] Revert "Retry step feature (#12)" (#13) This reverts commit 64194a90ce683de7b6f7e7534df94cf6280bdb50. --- .github/workflows/Build.yml | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index e0fdcf8..15efd7d 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -43,24 +43,20 @@ jobs: password: ${{ secrets.DOCKER_PERSONAL_ACCESS_TOKEN }} - name: Build and push Docker image - uses: Wandalen/wretry.action@v3.5.0 + uses: docker/build-push-action@v6.7.0 env: - OWNER: ${{ vars.DOCKER_USERNAME }} - REPO: ${{ vars.DOCKER_REPOSITORY }} - TAG: ${{ matrix.branch }} + OWNER: ${{ vars.DOCKER_USERNAME }} + REPO: ${{ vars.DOCKER_REPOSITORY }} + TAG: ${{ matrix.branch }} with: - attempt_limit: 3 - attempt_delay: 1000 - action: docker/build-push-action@v6.7.0 - with: | - context: . - file: ./Dockerfile - push: ${{ env.needToPush }} - tags: | - ${{ env.OWNER }}/${{ env.REPO }}:${{ env.TAG }} - ${{ env.TAG == 'steam_legacy' && format('{0}/{1}:latest', env.OWNER, env.REPO) || null}} - build-args: | - APPBRANCH=${{ matrix.branch }} - MOD=${{ matrix.mod }} - cache-from: type=gha,scope=build-${{ matrix.mod }}-${{ matrix.branch }} - cache-to: type=gha,mode=max,scope=build-${{ matrix.mod }}-${{ matrix.branch }} + context: . + file: ./Dockerfile + push: ${{ env.needToPush }} + tags: | + ${{ env.OWNER }}/${{ env.REPO }}:${{ env.TAG }} + ${{ env.TAG == 'steam_legacy' && format('{0}/{1}:latest', env.OWNER, env.REPO) || null}} + build-args: | + APPBRANCH=${{ matrix.branch }} + MOD=${{ matrix.mod }} + cache-from: type=gha,scope=build-${{ matrix.mod }}-${{ matrix.branch }} + cache-to: type=gha,mode=max,scope=build-${{ matrix.mod }}-${{ matrix.branch }} \ No newline at end of file