From 2c6b232e3ef4902724bda6a7a5eb0fc120769fb1 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Sat, 20 Jan 2024 11:00:16 +0700 Subject: [PATCH] Always build docker images (#4395) Signed-off-by: Andrey Sobolev --- .github/workflows/main.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8038d6031..967e9bfbd8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -242,8 +242,7 @@ jobs: # with: # name: db-snapshot # path: ./tests/db_dump - docker-build: - if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }} + docker-build: needs: [build, uitest, test, svelte-check] runs-on: ubuntu-latest steps: @@ -259,12 +258,6 @@ jobs: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} - - name: Installing... - run: node common/scripts/install-run-rush.js install - - name: Setting model version from git release... - run: node common/scripts/install-run-rush.js bump-model-version - - name: Build, to include new model version - run: node common/scripts/install-run-rush.js build - name: Bundle run: node common/scripts/install-run-rush.js bundle - name: Docker build @@ -276,7 +269,6 @@ jobs: with: username: hardcoreeng password: ${{ secrets.DOCKER_ACCESS_TOKEN }} - - name: Docker push staging if: ${{ github.ref == 'refs/heads/main' }} run: node common/scripts/install-run-rush.js docker:staging