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:
push:
branches:
- main
- 'release/*.*.*'
- "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:
inputs:
skip_change_detection:
......@@ -70,7 +71,7 @@ jobs:
build-epp-image:
name: Build EPP Image
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
outputs:
epp_image_ref: ${{ steps.build-epp-image.outputs.epp_image_ref }}
......@@ -122,7 +123,7 @@ jobs:
build-frontend-image:
name: Build Frontend 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:
fail-fast: false
matrix:
......
......@@ -150,7 +150,7 @@ on:
outputs:
image_tag:
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:
# ============================================================================
......
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