mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Always build docker images (#4395)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
3add9f69d8
commit
2c6b232e3e
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -242,8 +242,7 @@ jobs:
|
|||||||
# with:
|
# with:
|
||||||
# name: db-snapshot
|
# name: db-snapshot
|
||||||
# path: ./tests/db_dump
|
# path: ./tests/db_dump
|
||||||
docker-build:
|
docker-build:
|
||||||
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
|
|
||||||
needs: [build, uitest, test, svelte-check]
|
needs: [build, uitest, test, svelte-check]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -259,12 +258,6 @@ jobs:
|
|||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
|
||||||
restore-keys: ${{ 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
|
- name: Bundle
|
||||||
run: node common/scripts/install-run-rush.js bundle
|
run: node common/scripts/install-run-rush.js bundle
|
||||||
- name: Docker build
|
- name: Docker build
|
||||||
@ -276,7 +269,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: hardcoreeng
|
username: hardcoreeng
|
||||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Docker push staging
|
- name: Docker push staging
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
run: node common/scripts/install-run-rush.js docker:staging
|
run: node common/scripts/install-run-rush.js docker:staging
|
||||||
|
Loading…
Reference in New Issue
Block a user