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