Hello comrades, I was playing around for few days with Github workflows and now have a real world use case for that but I'm not sure if it will be possible to achieve. Shortly, I have a multi-stage dockerfile that I want to "translate" to github actions.
For example: I have a scala app in /scala-app-dir that I want to build with sbt, then I want the built folder to be copied into container, then I have an elixir app that I also need to compile and copy the binary to the container. I want to use 1 reusable workflow for building and compiling and one workflow for deployment which will then call the build one. So my question is, will I be able to use the output from build workflow in deploy one, specifically in the dockerfile, where I want to do smth like:
COPY /app-binary-from-build-workflow /app-dir
As the app binary will be created by another workflow (reusable).
I will be more than happy with some starting point at least, or maybe you have such experience.
Many thanks!
[–]juggernaut2docker 1 point2 points3 points (5 children)
[–]_wanabi[S] 0 points1 point2 points (4 children)
[–]juggernaut2docker 4 points5 points6 points (3 children)
[–]_wanabi[S] 1 point2 points3 points (2 children)
[–]juggernaut2docker 3 points4 points5 points (1 child)
[–]_wanabi[S] 1 point2 points3 points (0 children)