Fix the scanning for 1.9 #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
jobs: | |
test-job: | |
name: First step that will fail | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout kubeflow-ci | |
uses: actions/checkout@v3 | |
with: | |
repository: canonical/kubeflow-ci.git | |
sparse-checkout: scripts/images/ | |
ref: main | |
path: kubeflow-ci | |
- name: Get images | |
id: images | |
run: | | |
BUNDLE="releases/1.900/stable" | |
BUNDLE_SPLIT=(${BUNDLE//\// }) | |
RELEASE=${BUNDLE_SPLIT[1]} | |
RISK=${BUNDLE_SPLIT[2]} | |
IMAGES=$(./kubeflow-ci/scripts/images/get-all-images.sh ${BUNDLE}/bundle.yaml ${RELEASE}-${RISK}) | |
echo "$IMAGES" > ./image_list.txt | |
echo "Image list:" | |
cat ./image_list.txt | |
echo "release_risk=${RELEASE}-${RISK}" >> $GITHUB_OUTPUT | |
- name: Shouldn't be here | |
run: echo "WHy are you here?" |