Skip to content

Commit

Permalink
add action with inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmarcello committed Apr 11, 2024
1 parent a339fa4 commit b545cb6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ name: Publish Docker Image
on:
release:
types: [published]
workflow_dispatch:
inputs:
version:
description: 'Version to publish'
required: true
default: 'v$(cat counterparty-lib/counterpartylib/lib/config.py | grep "__version__ =" | awk -F'"' '/version__ = / {print $2}')"


env:
DOCKER_REPO: counterparty/counterparty
Expand Down

0 comments on commit b545cb6

Please sign in to comment.