chore(deps): update docker/build-push-action action to v6.13.0
[ArchiSteamFarm.git] / .github / workflows / docker-ci.yml
blobccd1a1fe7a5d686643ecad56068fea0e95c95a30
1 name: ASF-docker-ci
3 on: [push, pull_request]
5 env:
6   PLATFORMS: linux/amd64,linux/arm,linux/arm64
8 permissions: {}
10 jobs:
11   main:
12     strategy:
13       fail-fast: false
14       matrix:
15         configuration: [Debug, Release]
16         file: [Dockerfile, Dockerfile.Service]
18     runs-on: ubuntu-latest
20     steps:
21     - name: Checkout code
22       uses: actions/checkout@v4.2.2
23       with:
24         show-progress: false
25         submodules: recursive
27     - name: Set up Docker Buildx
28       uses: docker/setup-buildx-action@v3.8.0
30     - name: Build ${{ matrix.configuration }} Docker image from ${{ matrix.file }}
31       uses: docker/build-push-action@v6.13.0
32       with:
33         build-args: CONFIGURATION=${{ matrix.configuration }}
34         context: .
35         file: ${{ matrix.file }}
36         platforms: ${{ env.PLATFORMS }}
37         provenance: true
38         sbom: true