Skip to content

Commit

Permalink
chore: cross-arch build for now
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Dec 26, 2024
1 parent 6ca70d5 commit 5aa2b48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,15 @@ jobs:
IMAGE_REGISTRY: ${{ inputs.image-registry }}
IMAGE_NAME: ${{ inputs.image-name }}
BUILD_ARGS: ${{ inputs.build-args }}
PLATFORM: ${{ matrix.platform }}
run: |
BUILD_ARGS_FLAGS=()
for arg in $(echo $BUILD_ARGS | tr ',' '\n'); do
BUILD_ARGS_FLAGS+=("--build-arg" "$arg")
done
podman build \
--arch $PLATFORM \
--iidfile /tmp/iidfile \
-t ${IMAGE_REGISTRY}/${IMAGE_NAME}:local \
"${BUILD_ARGS_FLAGS[@]}" \
Expand Down

0 comments on commit 5aa2b48

Please sign in to comment.