Skip to content

Commit

Permalink
Buildx parameters for save instead of docker save
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 7bcb53d commit 4f49a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
step: build-image
attestations: "git github environment oci"
command: |
/bin/sh -c "docker buildx build -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 -o type=docker,dest=- . > image.tar"
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 4f49a8b

Please sign in to comment.