mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +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:
|
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: |
|
||||||
|
Loading…
Reference in New Issue
Block a user