Update test.yml

This commit is contained in:
Peter 2023-07-12 22:48:59 +02:00 committed by GitHub
parent 3b8c453418
commit cbd0365452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 16 deletions

View File

@ -48,19 +48,21 @@ jobs:
target: ${{ fromJson(needs.targets.outputs.matrix) }} target: ${{ fromJson(needs.targets.outputs.matrix) }}
steps: steps:
- name: tree - name: Checkouts
run: | uses: actions/checkout@v3
sudo apt-get install -y tree
tree
- name: Push Images using BuildX Bake - name: Prepair Image Builds
uses: docker/bake-action@v2 run: |
with: cp -v helper-scripts/docker-compose.override.yml.d/BUILD_FLAGS/docker-compose.override.yml docker-compose.preride.yml
files: | docker compose -f docker-compose.yml -f docker-compose.preride.yml config > docker-compose.override.yml
docker-compose.yml rm -v docker-compose.yml && mv -v docker-compose.override.yml docker-compose.yml
targets: ${{ matrix.target }}
push: false - name: Push Images using BuildX Bake
set: | uses: docker/bake-action@v2
*.cache-from=type=gha,scope=build-${{ matrix.target }} with:
*.cache-to=type=gha,scope=build-${{ matrix.target }},mode=max targets: ${{ matrix.target }}
*.platform=linux/amd64,linux/arm64 push: false
set: |
*.cache-from=type=gha,scope=build-${{ matrix.target }}
*.cache-to=type=gha,scope=build-${{ matrix.target }},mode=max
*.platform=linux/amd64,linux/arm64