From 389cd884aa98c6c976c7a22ccac75c950142c38e Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Mon, 3 Jul 2023 15:53:00 +0200 Subject: [PATCH] Align SOMEIP Feeder docker config Compare with https://github.com/eclipse/kuksa.val.feeders/blob/main/.github/workflows/kuksa_dbc_feeder.yml#L40 https://github.com/eclipse/kuksa.val/blob/master/.github/workflows/kuksa_databroker_build.yml#L117 --- .github/workflows/someip2val_build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/someip2val_build.yml b/.github/workflows/someip2val_build.yml index f7581ff6..cbf7327f 100644 --- a/.github/workflows/someip2val_build.yml +++ b/.github/workflows/someip2val_build.yml @@ -114,10 +114,8 @@ jobs: images: | ghcr.io/${{ github.repository }}/someip-feeder tags: | - type=sha - type=ref,event=tag - type=edge - type=raw,value=latest,enable={{is_default_branch}} + type=ref,event=branch + type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} @@ -136,6 +134,9 @@ jobs: ${{ steps.meta.outputs.tags }} ttl.sh/kuksa.val.feeders/someip-feeder-${{github.sha}}:8h 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 someip2val container and push to ttl.sh" if: ${{ needs.checkrights.outputs.have_secrets != 'true' || github.event_name == 'pull_request' }} @@ -150,3 +151,6 @@ jobs: tags: | ttl.sh/kuksa.val.feeders/someip-feeder-${{github.sha}}:8h 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