mirror of
https://github.com/rehlds/testdemos.git
synced 2024-12-26 06:35:51 +03:00
This reverts commit 64194a90ce
.
This commit is contained in:
parent
50fd7b3447
commit
14ace3c1c3
34
.github/workflows/Build.yml
vendored
34
.github/workflows/Build.yml
vendored
@ -43,24 +43,20 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_PERSONAL_ACCESS_TOKEN }}
|
password: ${{ secrets.DOCKER_PERSONAL_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: Wandalen/wretry.action@v3.5.0
|
uses: docker/build-push-action@v6.7.0
|
||||||
env:
|
env:
|
||||||
OWNER: ${{ vars.DOCKER_USERNAME }}
|
OWNER: ${{ vars.DOCKER_USERNAME }}
|
||||||
REPO: ${{ vars.DOCKER_REPOSITORY }}
|
REPO: ${{ vars.DOCKER_REPOSITORY }}
|
||||||
TAG: ${{ matrix.branch }}
|
TAG: ${{ matrix.branch }}
|
||||||
with:
|
with:
|
||||||
attempt_limit: 3
|
context: .
|
||||||
attempt_delay: 1000
|
file: ./Dockerfile
|
||||||
action: docker/build-push-action@v6.7.0
|
push: ${{ env.needToPush }}
|
||||||
with: |
|
tags: |
|
||||||
context: .
|
${{ env.OWNER }}/${{ env.REPO }}:${{ env.TAG }}
|
||||||
file: ./Dockerfile
|
${{ env.TAG == 'steam_legacy' && format('{0}/{1}:latest', env.OWNER, env.REPO) || null}}
|
||||||
push: ${{ env.needToPush }}
|
build-args: |
|
||||||
tags: |
|
APPBRANCH=${{ matrix.branch }}
|
||||||
${{ env.OWNER }}/${{ env.REPO }}:${{ env.TAG }}
|
MOD=${{ matrix.mod }}
|
||||||
${{ env.TAG == 'steam_legacy' && format('{0}/{1}:latest', env.OWNER, env.REPO) || null}}
|
cache-from: type=gha,scope=build-${{ matrix.mod }}-${{ matrix.branch }}
|
||||||
build-args: |
|
cache-to: type=gha,mode=max,scope=build-${{ matrix.mod }}-${{ matrix.branch }}
|
||||||
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 }}
|
|
Loading…
Reference in New Issue
Block a user