Update test.yml
This commit is contained in:
parent
3b8c453418
commit
cbd0365452
|
@ -48,19 +48,21 @@ jobs:
|
|||
target: ${{ fromJson(needs.targets.outputs.matrix) }}
|
||||
|
||||
steps:
|
||||
- name: tree
|
||||
run: |
|
||||
sudo apt-get install -y tree
|
||||
tree
|
||||
- name: Checkouts
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Push Images using BuildX Bake
|
||||
uses: docker/bake-action@v2
|
||||
with:
|
||||
files: |
|
||||
docker-compose.yml
|
||||
targets: ${{ matrix.target }}
|
||||
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
|
||||
- name: Prepair Image Builds
|
||||
run: |
|
||||
cp -v helper-scripts/docker-compose.override.yml.d/BUILD_FLAGS/docker-compose.override.yml docker-compose.preride.yml
|
||||
docker compose -f docker-compose.yml -f docker-compose.preride.yml config > docker-compose.override.yml
|
||||
rm -v docker-compose.yml && mv -v docker-compose.override.yml docker-compose.yml
|
||||
|
||||
- name: Push Images using BuildX Bake
|
||||
uses: docker/bake-action@v2
|
||||
with:
|
||||
targets: ${{ matrix.target }}
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue