From 6c3100da89cb7718d5439d678176874a53245d32 Mon Sep 17 00:00:00 2001 From: kian kashfipour <42981609+kian79@users.noreply.github.com> Date: Wed, 31 Jan 2024 20:52:31 +0100 Subject: [PATCH] Update ci-cd.yml --- .github/workflows/ci-cd.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 07f7dac..89504b6 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -18,13 +18,8 @@ jobs: with: python-version: 3.8 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Build Docker image - run: docker build -t pdf_searcher . + run: docker build -t kian79/pdf_searcher:latest . test: runs-on: ubuntu-latest @@ -46,7 +41,7 @@ jobs: - name: Run tests run: pytest - deploy: + release: runs-on: ubuntu-latest needs: test