"...ssh:/git@developer.sourcefind.cn:2222/OpenDAS/dynamo.git" did not exist on "4ea80e9585bb709daedd253446ab04a422f6bf55"
Unverified Commit ae770ad7 authored by Pavithra Vijayakrishnan's avatar Pavithra Vijayakrishnan Committed by GitHub
Browse files

build: remove builds release (#6949)


Signed-off-by: default avatarpvijayakrish <pvijayakrish@nvidia.com>
parent 9ab2486a
...@@ -7,8 +7,9 @@ on: ...@@ -7,8 +7,9 @@ on:
push: push:
branches: branches:
- main - main
- 'release/*.*.*'
- "pull-request/[0-9]+" - "pull-request/[0-9]+"
# Note: release/* branches are handled by release.yml which calls this workflow # Note: release/* branches always build (change detection skipped)
workflow_call: workflow_call:
inputs: inputs:
skip_change_detection: skip_change_detection:
...@@ -70,7 +71,7 @@ jobs: ...@@ -70,7 +71,7 @@ jobs:
build-epp-image: build-epp-image:
name: Build EPP Image name: Build EPP Image
needs: changed-files needs: changed-files
if: needs.changed-files.outputs.frontend == 'true' || inputs.skip_change_detection == true if: needs.changed-files.outputs.frontend == 'true' || inputs.skip_change_detection == true || startsWith(github.ref_name, 'release/')
runs-on: prod-builder-v3 runs-on: prod-builder-v3
outputs: outputs:
epp_image_ref: ${{ steps.build-epp-image.outputs.epp_image_ref }} epp_image_ref: ${{ steps.build-epp-image.outputs.epp_image_ref }}
...@@ -122,7 +123,7 @@ jobs: ...@@ -122,7 +123,7 @@ jobs:
build-frontend-image: build-frontend-image:
name: Build Frontend Image name: Build Frontend Image
needs: [changed-files, build-epp-image] needs: [changed-files, build-epp-image]
if: needs.changed-files.outputs.frontend == 'true' || inputs.skip_change_detection == true if: needs.changed-files.outputs.frontend == 'true' || inputs.skip_change_detection == true || startsWith(github.ref_name, 'release/')
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
......
...@@ -150,7 +150,7 @@ on: ...@@ -150,7 +150,7 @@ on:
outputs: outputs:
image_tag: image_tag:
description: 'Image tag in ACR' description: 'Image tag in ACR'
value: ${{ jobs.copy-to-acr.outputs.target_tag_plain }}-${{ inputs.platform }} value: ${{ jobs.build.outputs.target_tag_plain }}-${{ inputs.platform }}
jobs: jobs:
# ============================================================================ # ============================================================================
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment