Always build docker images (#4395)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-01-20 11:00:16 +07:00 committed by GitHub
parent 3add9f69d8
commit 2c6b232e3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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