github actions share values between workflows

Viewed 602

I have two workflows within the same project in gihub. The first workflow create and publishes a docker image on docker hub and is automatic on push. The second workflow which is manual should pull the docker image published in workflow 1 and deploy it on a cluster. As part of the first workflow I need to share a docker image tag from workflow 1 to workflow 2. How do I do that. I checked environment variables, but from what I have seen its localized to a workflow and you cannot share it between workflows.

0 Answers
Related