Skip to content

Commit

Permalink
Issue #237 Manual tag creation error (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
gurkanindibay authored Aug 25, 2021
1 parent ebc7352 commit b813dcb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish_docker_images_on_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ on:
inputs:
trigger_type:
description: "Type of build which you want to trigger. Allowed values: main, tags, nightly"
required: true
tag_name:
description: "The tag name on the project repo to be released. It is mandatory if you select the trigger_type as 'tags' "
description: "The tag name on the project repo to be released. It is mandatory if you select the trigger_type as 'tags'"
required: false
default: ""

jobs:
build_and_publish_images:
name: Build and publish images
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -35,4 +38,5 @@ jobs:
python -m tools.packaging_automation.publish_docker \
--pipeline_trigger_type "${GITHUB_EVENT_NAME}" \
--tag_name ${{ github.event.inputs.tag_name }} \
--manual_trigger_type ${{ github.event.inputs.trigger_type }}
--manual_trigger_type ${{ github.event.inputs.trigger_type }} \
--github_ref "${GITHUB_REF}"

0 comments on commit b813dcb

Please sign in to comment.