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