Skip to content

Commit

Permalink
ci: build Docker images in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
koehlma committed Nov 18, 2023
1 parent df8749a commit fbf18b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: Build Docker Images

on:
push:
# branches:
# - main
# - ci
workflow_dispatch:
workflow_dispatch:

env:
REGISTRY: ghcr.io
Expand All @@ -16,6 +13,9 @@ jobs:
build-docker-images:
name: Build Docker Images
runs-on: ubuntu-latest
strategy:
matrix:
platform: [linux/amd64, linux/arm64]
steps:
- uses: actions/checkout@v3

Expand All @@ -37,7 +37,7 @@ jobs:
with:
context: .
file: docker/Dockerfile.rugpi-bakery
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}
push: true
tags: ${{ env.IMAGE_NAME }}
cache-from: type=gha
Expand Down

0 comments on commit fbf18b4

Please sign in to comment.