From ad069089ed2e2e4b7b5177784c27f8e4db7cf339 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 21 Feb 2024 13:32:46 +0800 Subject: [PATCH] Clean up actions file --- .github/workflows/run-tests.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index bcfd3db5a..249f92204 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -98,20 +98,21 @@ jobs: name: Build docker images runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: 'Login to GitHub container registry' uses: docker/login-action@v1 with: registry: ghcr.io username: ${{github.actor}} password: ${{secrets.GITHUB_TOKEN}} - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - name: Build the API docker image - run: 'docker build --file packages/api/Dockerfile .' + # run: 'docker build --file packages/api/Dockerfile .' run: | - docker build . --file packages/api/Dockerfile --tag ghcr.io/omnivore-app/backend:latest - docker push ghcr.io/omnivore-app/backend:latest + docker build . --file packages/api/Dockerfile --tag ghcr.io/omnivore-app/backend:latest + docker push ghcr.io/omnivore-app/backend:latest - name: Build the content-fetch docker image run: 'docker build --file packages/content-fetch/Dockerfile .' - name: Build the inbound-email-handler docker image