Skip to content

Commit

Permalink
Revert "Retry step feature (#12)" (#13)
Browse files Browse the repository at this point in the history
This reverts commit 64194a9.
  • Loading branch information
wopox1337 authored Oct 11, 2024
1 parent 50fd7b3 commit 14ace3c
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 }}

0 comments on commit 14ace3c

Please sign in to comment.