From f815a8fd81c23d445c30575228a705761ad44482 Mon Sep 17 00:00:00 2001 From: "maximilian.schubert@telekom.de" Date: Tue, 28 Nov 2023 15:13:01 +0100 Subject: [PATCH] ci: debug image --- .github/workflows/artifacts.yml | 2 +- .github/workflows/test_unit.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 262a53e4..f3afd4c1 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -64,7 +64,7 @@ jobs: - name: Set image ref id: image-ref run: | - echo "value=${{ steps.image-name.outputs.value }}@${{ steps.build.outputs.digest }}" >> "$GITHUB_OUTPUT" + echo "value=${{ steps.image-name.outputs.value }}:${{ steps.build.outputs.version }}" >> "$GITHUB_OUTPUT" docker image list - name: Run Trivy vulnerability scanner diff --git a/.github/workflows/test_unit.yml b/.github/workflows/test_unit.yml index ad7bd62b..e4204ee3 100644 --- a/.github/workflows/test_unit.yml +++ b/.github/workflows/test_unit.yml @@ -1,6 +1,9 @@ name: Test - Unit -on: push +on: + pull_request: + branches: + - main permissions: contents: read