diff --git a/.github/workflows/deploy-cr.yml b/.github/workflows/deploy-cr.yml index f4045e5..345b8f4 100644 --- a/.github/workflows/deploy-cr.yml +++ b/.github/workflows/deploy-cr.yml @@ -15,8 +15,12 @@ on: description: 'container image tag' default: 'latest' required: true + cr_imagename: + description: 'container image name - leave blank to use GITHUB variables (if specified) or repo name' + default: '' + required: false env: - CR_IMAGENAME: ${{ vars.CR_IMAGENAME || github.event.repository.name }} + CR_IMAGENAME: ${{ vars.CR_IMAGENAME || github.event.inputs.cr_imagename || github.event.repository.name }} CR_PASSWORD: ${{ secrets.CR_PASSWORD }} CR_USERNAME: ${{ secrets.CR_USERNAME }} CR_HOST: ${{ vars.CR_HOST }}