<#6566 feature: Docker publish workflow for specif...
# meltano-repo-activity
g
#6566 feature: Docker publish workflow for specific git revision Issue created by WillDaSilva ### Feature scope Other ### Description Currently the Docker publish workflow (run via workflow dispatch) only builds the latest version of Meltano obtained from
poetry version --short
run on
main
. We should make the workflow take a string input which can have a git revision (e.g.
refs/pull1234/merge
,
main
,
v2.1.0
, etc.), and have the Meltano Dockerfile install with
pip install git+https://github.com/meltano/meltano.git@${{ inputs.git_rev }}
instead of
pip install meltano==${MELTANO_VERSION}
If we want to continue supporting the
pip install
from PyPI, we can add a checkbox option to the workflow that switches between taking Meltano from
git
at the given rev, and taking Meltano from PyPI using the
poetry version --short
result for the given rev. The rev would default to
main
to preserve the current behaviour. CC @edgarrmondragon meltano/meltano