Skip to content

Commit

Permalink
Disable multi-arch builds for build workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <hello@hidde.co>
  • Loading branch information
hiddeco committed Jun 10, 2021
1 parent 7703b7c commit dbf79de
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,7 @@ jobs:
run: make test
env:
KUBEBUILDER_ASSETS: ${{ github.workspace }}/kubebuilder/bin
- name: Setup QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
buildkitd-flags: "--debug"
- name: Build multi-arch container image
uses: docker/build-push-action@v2
with:
push: false
builder: ${{ steps.buildx.outputs.name }}
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
ghcr.io/fluxcd/${{ github.event.repository.name }}:latest
- name: Build container image
run: make docker-build IMG=ghcr.io/fluxcd/${{ github.event.repository.name }}:latest
env:
KUBEBUILDER_ASSETS: ${{ github.workspace }}/kubebuilder/bin

0 comments on commit dbf79de

Please sign in to comment.