diff --git a/.github/workflows/build-as-image.yml b/.github/workflows/build-as-image.yml index fdf0befd5..c7f08b6a9 100644 --- a/.github/workflows/build-as-image.yml +++ b/.github/workflows/build-as-image.yml @@ -67,7 +67,7 @@ jobs: - name: Build ${{ matrix.name }} Container Image run: | commit_sha=${{ github.sha }} - docker buildx build --platform "${{ matrix.target_platform }}" \ + docker buildx build --platform "${{ matrix.target_platform }}" --provenance false \ -f "${{ matrix.docker_file }}" ${{ inputs.build_option }} \ --build-arg BUILDPLATFORM="${{ matrix.build_platform }}" \ --build-arg ARCH="${{ matrix.target_arch }}" \ diff --git a/.github/workflows/build-kbs-image.yml b/.github/workflows/build-kbs-image.yml index 4491b908b..95f87c907 100644 --- a/.github/workflows/build-kbs-image.yml +++ b/.github/workflows/build-kbs-image.yml @@ -78,7 +78,7 @@ jobs: - name: Build Container Image KBS (${{ matrix.name }}) run: | commit_sha=${{ github.sha }} - docker buildx build --platform "${{ matrix.target_platform }}" \ + docker buildx build --platform "${{ matrix.target_platform }}" --provenance false \ -f "${{ matrix.docker_file }}" ${{ inputs.build_option }} \ -t "ghcr.io/confidential-containers/staged-images/${{ matrix.tag }}:${commit_sha}-${{ matrix.target_arch }}" \ -t "ghcr.io/confidential-containers/staged-images/${{ matrix.tag }}:latest-${{ matrix.target_arch }}" \