diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 61511f2..dbb1839 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -121,7 +121,7 @@ jobs: GITHUB_ACTOR: ${{ github.actor }} REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - python tested-image/image_release.py publish \ + python tested-image/scripts/image_release.py publish \ --archive tested-image/trex-core-image.tar \ --checksum tested-image/trex-core-image.tar.sha256 \ --image-id tested-image/trex-core-image.id \ diff --git a/tests/release/test_image_contracts.py b/tests/release/test_image_contracts.py index c18b358..6030b36 100644 --- a/tests/release/test_image_contracts.py +++ b/tests/release/test_image_contracts.py @@ -117,7 +117,7 @@ def test_publish_job_has_only_download_then_verified_publish_helper(): run_steps = [step for step in steps if "run" in step] assert run_steps == [steps[1]] - expected_run = '''python tested-image/image_release.py publish \\ + expected_run = '''python tested-image/scripts/image_release.py publish \\ --archive tested-image/trex-core-image.tar \\ --checksum tested-image/trex-core-image.tar.sha256 \\ --image-id tested-image/trex-core-image.id \\