Skip to content

Commit

Permalink
re-fix repo name casing in scan wf
Browse files Browse the repository at this point in the history
Signed-off-by: tylertitsworth <tyler.titsworth@intel.com>
  • Loading branch information
tylertitsworth committed Jul 11, 2024
1 parent c4e1873 commit fc6e5f7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/container-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ jobs:
needs: [setup-scan]
if: ${{ fromJSON(inputs.scan) }}
runs-on: ubuntu-latest # local registry label
env:
example_dir: ${{ inputs.example_dir }}
strategy:
matrix:
container: ${{ fromJSON(needs.setup-scan.outputs.matrix) }}
Expand All @@ -85,11 +83,11 @@ jobs:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Downcase example Dir
run: echo "example_dir=${example_dir,,}" >> ${GITHUB_ENV}
run: echo "example_dir=${EXAMPLE_DIR,,}" >> ${GITHUB_ENV}
env:
EXAMPLE_DIR: ${{ inputs.example_dir }}
- name: Pull Image
run: docker pull ${{ secrets.REGISTRY }}/${{ env.example_dir }}:${{ matrix.container }}
env:
example_dir: ${{ inputs.example_dir }}
- name: Scan Container
uses: ./.github/workflows/composite/scan
with:
Expand Down

0 comments on commit fc6e5f7

Please sign in to comment.