Skip to content

Commit

Permalink
fix cosign prompt input
Browse files Browse the repository at this point in the history
Signed-off-by: VedRatan <[email protected]>
  • Loading branch information
VedRatan committed Feb 11, 2025
1 parent e773b84 commit 75346a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/publish-image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ runs:
-a "repo=${{ github.repository }}" \
-a "workflow=${{ github.workflow }}" \
-a "ref=${{ github.sha }}" \
${{ steps.ko-publish.outputs.digest }}
${{ steps.ko-publish.outputs.digest }} -y
- shell: bash
env:
COSIGN_REPOSITORY: ${{ inputs.sbom-repository }}
run: |
cosign attach sbom --sbom ./${{ inputs.sbom-name }}-bom.cdx.json --type cyclonedx ${{ steps.ko-publish.outputs.digest }}
cosign attach sbom --sbom ./${{ inputs.sbom-name }}-bom.cdx.json --type cyclonedx ${{ steps.ko-publish.outputs.digest }} -y
- shell: bash
id: digest
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ ko-publish-kyverno-init: ko-login ## Build and publish kyvernopre image (with ko
.PHONY: ko-publish-kyverno
ko-publish-kyverno: ko-login ## Build and publish kyverno image (with ko)
@LD_FLAGS=$(LD_FLAGS) KOCACHE=$(KOCACHE) KO_DOCKER_REPO=$(REPO_KYVERNO) \
$(KO) build ./$(KYVERNO_DIR) --bare --tags=$(KO_TAGS) --platform=$(PLATFORMS) --sbom=$(SBOM_PARAM)
$(KO) build ./$(KYVERNO_DIR) --bare --tags=$(KO_TAGS) --platform=$(PLATFORMS) --sbom=$(SBOM_PARAM)

.PHONY: ko-publish-cli
ko-publish-cli: ko-login ## Build and publish cli image (with ko)
Expand Down

0 comments on commit 75346a8

Please sign in to comment.