mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 11:42:30 +03:00
Disable docker staging push
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
084bce83e1
commit
946d84522c
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user