Disable docker staging push

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-08-28 23:44:14 +07:00
parent 084bce83e1
commit 946d84522c
No known key found for this signature in database
GPG Key ID: BD80F68D68D8F7F2

View File

@ -10,7 +10,7 @@ concurrency:
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [develop, main]
branches: [develop]
tags:
- v*
pull_request:
@ -65,8 +65,8 @@ jobs:
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Cheking model is updated...
run: node common/scripts/check_model_version.js
# - name: Cheking model is updated...
# run: node common/scripts/check_model_version.js
- name: Checking for mis-matching dependencies...
run: node common/scripts/install-run-rush.js check
@ -509,9 +509,9 @@ 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 -v
# - name: Docker push staging
# if: ${{ github.ref == 'refs/heads/main' }}
# run: node common/scripts/install-run-rush.js docker:staging -v
- name: Docker push tag
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: |