diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index afc3209d5..823ebb5a3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -173,6 +173,16 @@ jobs: env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + fetch-migration-docker-build: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./FetchMigration + steps: + - uses: actions/checkout@v4 + - name: Build Docker Image + run: docker build -t migrations/fetch-migration -f Dockerfile . + all-ci-checks-pass: needs: - cdk-tests @@ -181,7 +191,9 @@ jobs: - python-e2e-tests - python-lint - python-tests + - fetch-migration-docker-build runs-on: ubuntu-latest steps: - run: | echo '## :heavy_check_mark: All continous integration checks pass' >> $GITHUB_STEP_SUMMARY + diff --git a/FetchMigration/Dockerfile b/FetchMigration/Dockerfile index f0399b9c2..e75c195b0 100644 --- a/FetchMigration/Dockerfile +++ b/FetchMigration/Dockerfile @@ -1,5 +1,5 @@ FROM opensearchproject/data-prepper:2.5.0 -COPY python/Pipfile . +COPY python/Pipfile python/Pipfile.lock ./ # Install dependencies to local user directory RUN apt -y update