mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-09-20 22:42:06 +00:00
CI: Use parallel jobs in a matrix for docker-ci
This commit is contained in:
parent
118434acb1
commit
aab6b9cb5c
1 changed files with 7 additions and 9 deletions
16
.github/workflows/docker-ci.yml
vendored
16
.github/workflows/docker-ci.yml
vendored
|
@ -7,6 +7,11 @@ env:
|
|||
|
||||
jobs:
|
||||
main:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
file: [Dockerfile, Dockerfile.Service]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
@ -18,17 +23,10 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Build Docker image from Dockerfile
|
||||
- name: Build Docker image from ${{ matrix.file }}
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
platforms: ${{ env.PLATFORMS }}
|
||||
build-args: STEAM_TOKEN_DUMPER_TOKEN=${{ secrets.STEAM_TOKEN_DUMPER_TOKEN }}
|
||||
|
||||
- name: Build Docker image from Dockerfile.Service
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.Service
|
||||
file: ${{ matrix.file }}
|
||||
platforms: ${{ env.PLATFORMS }}
|
||||
build-args: STEAM_TOKEN_DUMPER_TOKEN=${{ secrets.STEAM_TOKEN_DUMPER_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue