Skip to content

Commit

Permalink
Add install of buildx
Browse files Browse the repository at this point in the history
Signed-off-by: John Kjell <john@testifysec.com>
  • Loading branch information
jkjell committed Nov 7, 2023
1 parent 1f86925 commit 7bcb53d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,16 @@ jobs:
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
install: true
use: true

- name: Build Image
uses: testifysec/witness-run-action@40aa4ef36fc431a37de7c3faebcb66513c03b934
with:
step: build-image
attestations: "git github environment oci"
command: |
/bin/sh -c "docker build --platform=linux/arm64,linux/amd64 -t ${{ steps.meta.outputs.tags }} --push . && docker save ${{ steps.meta.outputs.tags }} > image.tar"
/bin/sh -c "docker buildx build -t ${{ steps.meta.outputs.tags }} --push . && docker save ${{ steps.meta.outputs.tags }} > image.tar"
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 7bcb53d

Please # to comment.