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