Skip to content

ci: run CI on push to this branch #4

ci: run CI on push to this branch

ci: run CI on push to this branch #4

name: I2::CI::check_for_incorrect_images
on:
push:
branches:
- 2.0.0-pre-rc.21
- stable
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: actions/checkout@v4
- name: Install dependencies
run: pip install -r .github/scripts/ci_test/requirements.txt --no-input
- name: Check containers on iroha2 stable branch
if: github.base_ref == 'stable'
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha2:stable -- docker-compose*.yml
- name: Check containers on iroha2 2.0.0-pre-rc.21 branch
if: github.base_ref == '2.0.0-pre-rc.21'
run: python .github/scripts/ci_test/ci_image_scan.py --allow iroha2:dev -- docker-compose*.yml