From 04526cf2b02ca1d37ff4381c2fa0f395e56956f4 Mon Sep 17 00:00:00 2001 From: Prashant Srivastava <50466688+srprash@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:06:34 -0700 Subject: [PATCH] Fix release workflow (#160) *Issue #, if available:* *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --- .github/actions/artifacts_build/action.yml | 3 +-- .github/workflows/release_build.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/artifacts_build/action.yml b/.github/actions/artifacts_build/action.yml index f75a8bf50..3dc7b3c65 100644 --- a/.github/actions/artifacts_build/action.yml +++ b/.github/actions/artifacts_build/action.yml @@ -94,8 +94,7 @@ runs: load: ${{ inputs.load_image }} - name: Perform image scan - if: ${{ inputs.push_image == true || inputs.push_image == 'true' }} uses: ./.github/actions/image_scan with: image-ref: ${{ inputs.image_uri_with_tag }} - severity: 'CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN' + severity: 'CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN' \ No newline at end of file diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index c23c66ef9..0765f45b9 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -32,7 +32,7 @@ jobs: with: image_uri_with_tag: "adot-autoinstrumentation-python:test" push_image: false - load_image: false + load_image: true python_version: "3.10" package_name: aws-opentelemetry-distro os: ubuntu-latest