Skip to content

Commit

Permalink
Merge pull request #133 from stuartleeks/sl/image-tag-on-branch-build
Browse files Browse the repository at this point in the history
Allow prNumber input on branch build
  • Loading branch information
stuartleeks authored Jun 8, 2022
2 parents 6079d5b + e5e74d6 commit cf2b312
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ name: CI (branch)

on:
workflow_dispatch:
inputs:
prNumber:
description: set to the PR number if testing a branch for a PR (used to derive the image tag)
default: ''
type: string
required: false

jobs:
build-test-publish:
name: "Build, test, publish"
uses: ./.github/workflows/ci_common.yml
with:
release: false
prNumber: ${{ inputs.prNumber }}
secrets:
AZDO_TOKEN: ${{ secrets.AZDO_TOKEN }}
MARKETPLACE_TOKEN: ${{ secrets.MARKETPLACE_TOKEN }}

0 comments on commit cf2b312

Please sign in to comment.