URO-163, URO-165, URO-166, URO-167: API calls for Copy, Link, Rename and Restore components #234
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Push Images | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed | |
inputs: | |
name: | |
description: The image name | |
required: true | |
type: string | |
tags: | |
description: The image tags | |
required: true | |
type: string | |
jobs: | |
build-main-open: | |
if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == false | |
uses: ./.github/workflows/reusable_build-push.yml | |
with: | |
name: '${{ github.event.repository.name }}' | |
tags: pr-${{ github.event.number }} | |
secrets: inherit | |
build-main-merge: | |
if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == true | |
uses: ./.github/workflows/reusable_build-push.yml | |
with: | |
name: '${{ github.event.repository.name }}' | |
tags: pr-${{ github.event.number }},latest-rc | |
secrets: inherit |