From bee4eb5f50366d6b9b0160410011a82a92a95db3 Mon Sep 17 00:00:00 2001 From: Wade Barnes Date: Thu, 16 Feb 2023 09:03:14 -0800 Subject: [PATCH] Add support for building off a git ref Signed-off-by: Wade Barnes --- .github/workflows/publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 118231f0d1..3c9fc48b95 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,6 +15,10 @@ on: required: true default: linux/amd64 type: string + ref: + description: 'The branch, tag or SHA to checkout.' + required: false + type: string env: # linux/386 platform support has been disabled pending a permanent fix for https://github.com/hyperledger/aries-cloudagent-python/issues/2124 @@ -33,6 +37,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 + with: + ref: ${{ inputs.ref || '' }} - name: Gather image info id: info