From dd42e1a6c23eea67e5ece7c777b5455bef09384a Mon Sep 17 00:00:00 2001 From: geirawsm Date: Sun, 8 Oct 2023 21:33:15 +0200 Subject: [PATCH] Context --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b02c8b4..2544502 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,12 +19,10 @@ jobs: with: python-version: "3.10" - name: Install dependencies - with: - context: . - run: | - python -m pip install --upgrade pip - pip install flake8 - pip install -r requirements.txt + run: | + python -m pip install --upgrade pip + pip install flake8 + pip install -r requirements.txt - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -46,5 +44,6 @@ jobs: - name: Build and push uses: docker/build-push-action@v5 with: + context: . push: true tags: ${{secrets.DOCKER_USER}}/sausage_bot:latest \ No newline at end of file