Skip to content

Commit

Permalink
chore: enhance release build workflow with Docker caching and build a…
Browse files Browse the repository at this point in the history
…rguments

- Added caching configuration for Docker builds to optimize build times and resource usage.
- Introduced build arguments to specify target and build platforms, improving flexibility for multi-platform builds.
- These changes aim to streamline the release process and enhance the efficiency of Docker image creation.
  • Loading branch information
tphakala committed Jan 16, 2025
1 parent c70b111 commit 50c8ab7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,10 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: ${{ matrix.platform }}
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: false
build-args: |
TARGETPLATFORM=${{ matrix.platform }}
BUILDPLATFORM=${{ matrix.platform }}

0 comments on commit 50c8ab7

Please sign in to comment.