From 2f9aa557022f090f029994bc74b6dac422c14be1 Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Mon, 18 Mar 2024 12:58:34 +0100 Subject: [PATCH] Fix unknown/unknown See https://github.com/eclipse/kuksa.val/issues/752 --- .github/workflows/can-provider.yml | 6 ++++++ .github/workflows/pre-commit.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/can-provider.yml b/.github/workflows/can-provider.yml index 6084d65..cce3bc8 100644 --- a/.github/workflows/can-provider.yml +++ b/.github/workflows/can-provider.yml @@ -85,6 +85,9 @@ jobs: ${{ steps.meta.outputs.tags }} ttl.sh/eclipse-kuksa/kuksa-can-provider/can-provider-${{github.sha}} labels: ${{ steps.meta.outputs.labels }} + # Provenance to solve that an unknown/unkown image is shown on ghcr.io + # Same problem as described in https://github.com/orgs/community/discussions/45969 + provenance: false - name: Build ephemeral DBC provider container and push to ttl.sh if: needs.check_ghcr_push.outputs.push == 'false' @@ -99,6 +102,9 @@ jobs: push: true tags: "ttl.sh/eclipse-kuksa/kuksa-can-provider/can-provider-${{github.sha}}" labels: ${{ steps.meta.outputs.labels }} + # Provenance to solve that an unknown/unkown image is shown on ghcr.io + # Same problem as described in https://github.com/orgs/community/discussions/45969 + provenance: false - name: Posting message uses: eclipse-kuksa/kuksa-actions/post-container-location@2 diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index e00578d..f3c8bf1 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -19,6 +19,6 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.10' - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 with: extra_args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}